2014/02/27 16:06:42 [error] [application] Exception CDbException Object
(
    [errorInfo] => 
    [message:protected] => Quan hệ "events" chưa được định nghĩa trong lớp active record "Ticket".
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\db\ar\CActiveFinder.php
    [line:protected] => 211
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\db\ar\CActiveFinder.php
                    [line] => 281
                    [function] => buildJoinTree
                    [class] => CActiveFinder
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CJoinElement Object
                                (
                                    [id] => 0
                                    [relation] => 
                                    [master] => 
                                    [slave] => 
                                    [model] => Ticket Object
                                        (
                                            [fileImage] => 
                                            [_md:CActiveRecord:private] => CActiveRecordMetaData Object
                                                (
                                                    [tableSchema] => CMysqlTableSchema Object
                                                        (
                                                            [schemaName] => 
                                                            [name] => tickets
                                                            [rawName] => `tickets`
                                                            [primaryKey] => id
                                                            [sequenceName] => 
                                                            [foreignKeys] => Array
                                                                (
                                                                    [event_id] => Array
                                                                        (
                                                                            [0] => events
                                                                            [1] => id
                                                                        )

                                                                )

                                                            [columns] => Array
                                                                (
                                                                    [id] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => id
                                                                            [rawName] => `id`
                                                                            [allowNull] => 
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 1
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 1
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [date] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => date
                                                                            [rawName] => `date`
                                                                            [allowNull] => 1
                                                                            [dbType] => datetime
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 
                                                                            [precision] => 
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [event_id] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => event_id
                                                                            [rawName] => `event_id`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 1
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [type_of_ticket] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => type_of_ticket
                                                                            [rawName] => `type_of_ticket`
                                                                            [allowNull] => 1
                                                                            [dbType] => varchar(255)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 255
                                                                            [precision] => 255
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [description_of_ticket] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => description_of_ticket
                                                                            [rawName] => `description_of_ticket`
                                                                            [allowNull] => 1
                                                                            [dbType] => varchar(255)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 255
                                                                            [precision] => 255
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [ticket_code] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => ticket_code
                                                                            [rawName] => `ticket_code`
                                                                            [allowNull] => 1
                                                                            [dbType] => varchar(255)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 255
                                                                            [precision] => 255
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [quantity] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => quantity
                                                                            [rawName] => `quantity`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [price] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => price
                                                                            [rawName] => `price`
                                                                            [allowNull] => 1
                                                                            [dbType] => decimal(10,0)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 10
                                                                            [precision] => 10
                                                                            [scale] => 0
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [ticket_code_org] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => ticket_code_org
                                                                            [rawName] => `ticket_code_org`
                                                                            [allowNull] => 1
                                                                            [dbType] => varchar(255)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 255
                                                                            [precision] => 255
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [seat_map] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => seat_map
                                                                            [rawName] => `seat_map`
                                                                            [allowNull] => 1
                                                                            [dbType] => tinyint(1)
                                                                            [type] => integer
                                                                            [defaultValue] => 0
                                                                            [size] => 1
                                                                            [precision] => 1
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [pic_seat_map] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => pic_seat_map
                                                                            [rawName] => `pic_seat_map`
                                                                            [allowNull] => 1
                                                                            [dbType] => varchar(255)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 255
                                                                            [precision] => 255
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [ranking] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => ranking
                                                                            [rawName] => `ranking`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [remain_quantity] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => remain_quantity
                                                                            [rawName] => `remain_quantity`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [created_by] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => created_by
                                                                            [rawName] => `created_by`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [updated_date] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => updated_date
                                                                            [rawName] => `updated_date`
                                                                            [allowNull] => 1
                                                                            [dbType] => datetime
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 
                                                                            [precision] => 
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [updated_by] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => updated_by
                                                                            [rawName] => `updated_by`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                )

                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [columns] => Array
                                                        (
                                                            [id] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => id
                                                                    [rawName] => `id`
                                                                    [allowNull] => 
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 1
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 1
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [date] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => date
                                                                    [rawName] => `date`
                                                                    [allowNull] => 1
                                                                    [dbType] => datetime
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 
                                                                    [precision] => 
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [event_id] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => event_id
                                                                    [rawName] => `event_id`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 1
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [type_of_ticket] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => type_of_ticket
                                                                    [rawName] => `type_of_ticket`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [description_of_ticket] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => description_of_ticket
                                                                    [rawName] => `description_of_ticket`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [ticket_code] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => ticket_code
                                                                    [rawName] => `ticket_code`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [quantity] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => quantity
                                                                    [rawName] => `quantity`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [price] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => price
                                                                    [rawName] => `price`
                                                                    [allowNull] => 1
                                                                    [dbType] => decimal(10,0)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 10
                                                                    [precision] => 10
                                                                    [scale] => 0
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [ticket_code_org] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => ticket_code_org
                                                                    [rawName] => `ticket_code_org`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [seat_map] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => seat_map
                                                                    [rawName] => `seat_map`
                                                                    [allowNull] => 1
                                                                    [dbType] => tinyint(1)
                                                                    [type] => integer
                                                                    [defaultValue] => 0
                                                                    [size] => 1
                                                                    [precision] => 1
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [pic_seat_map] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => pic_seat_map
                                                                    [rawName] => `pic_seat_map`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [ranking] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => ranking
                                                                    [rawName] => `ranking`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [remain_quantity] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => remain_quantity
                                                                    [rawName] => `remain_quantity`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [created_by] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => created_by
                                                                    [rawName] => `created_by`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [updated_date] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => updated_date
                                                                    [rawName] => `updated_date`
                                                                    [allowNull] => 1
                                                                    [dbType] => datetime
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 
                                                                    [precision] => 
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [updated_by] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => updated_by
                                                                    [rawName] => `updated_by`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                        )

                                                    [relations] => Array
                                                        (
                                                            [booked] => CHasManyRelation Object
                                                                (
                                                                    [limit] => -1
                                                                    [offset] => -1
                                                                    [index] => 
                                                                    [through] => 
                                                                    [joinType] => LEFT OUTER JOIN
                                                                    [on] => 
                                                                    [alias] => 
                                                                    [with] => Array
                                                                        (
                                                                        )

                                                                    [together] => 
                                                                    [scopes] => 
                                                                    [name] => booked
                                                                    [className] => Booked
                                                                    [foreignKey] => ticket_id
                                                                    [select] => *
                                                                    [condition] => 
                                                                    [params] => Array
                                                                        (
                                                                        )

                                                                    [group] => 
                                                                    [join] => 
                                                                    [having] => 
                                                                    [order] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [event] => CBelongsToRelation Object
                                                                (
                                                                    [joinType] => LEFT OUTER JOIN
                                                                    [on] => 
                                                                    [alias] => 
                                                                    [with] => Array
                                                                        (
                                                                        )

                                                                    [together] => 
                                                                    [scopes] => 
                                                                    [name] => event
                                                                    [className] => Event
                                                                    [foreignKey] => event_id
                                                                    [select] => *
                                                                    [condition] => 
                                                                    [params] => Array
                                                                        (
                                                                        )

                                                                    [group] => 
                                                                    [join] => 
                                                                    [having] => 
                                                                    [order] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [update_user] => CHasOneRelation Object
                                                                (
                                                                    [through] => 
                                                                    [joinType] => LEFT OUTER JOIN
                                                                    [on] => 
                                                                    [alias] => 
                                                                    [with] => Array
                                                                        (
                                                                        )

                                                                    [together] => 
                                                                    [scopes] => 
                                                                    [name] => update_user
                                                                    [className] => Users
                                                                    [foreignKey] => updated_by
                                                                    [select] => *
                                                                    [condition] => 
                                                                    [params] => Array
                                                                        (
                                                                        )

                                                                    [group] => 
                                                                    [join] => 
                                                                    [having] => 
                                                                    [order] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [create_user] => CHasOneRelation Object
                                                                (
                                                                    [through] => 
                                                                    [joinType] => LEFT OUTER JOIN
                                                                    [on] => 
                                                                    [alias] => 
                                                                    [with] => Array
                                                                        (
                                                                        )

                                                                    [together] => 
                                                                    [scopes] => 
                                                                    [name] => create_user
                                                                    [className] => Users
                                                                    [foreignKey] => created_by
                                                                    [select] => *
                                                                    [condition] => 
                                                                    [params] => Array
                                                                        (
                                                                        )

                                                                    [group] => 
                                                                    [join] => 
                                                                    [having] => 
                                                                    [order] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                        )

                                                    [attributeDefaults] => Array
                                                        (
                                                            [seat_map] => 0
                                                        )

                                                    [_model:CActiveRecordMetaData:private] => Ticket Object
 *RECURSION*
                                                )

                                            [_new:CActiveRecord:private] => 
                                            [_attributes:CActiveRecord:private] => Array
                                                (
                                                )

                                            [_related:CActiveRecord:private] => Array
                                                (
                                                )

                                            [_c:CActiveRecord:private] => 
                                            [_pk:CActiveRecord:private] => 
                                            [_alias:CActiveRecord:private] => t
                                            [_errors:CModel:private] => Array
                                                (
                                                )

                                            [_validators:CModel:private] => 
                                            [_scenario:CModel:private] => 
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [records] => Array
                                        (
                                        )

                                    [children] => Array
                                        (
                                        )

                                    [stats] => Array
                                        (
                                        )

                                    [tableAlias] => t
                                    [rawTableAlias] => `t`
                                    [_finder:CJoinElement:private] => CActiveFinder Object
                                        (
                                            [joinAll] => 
                                            [baseLimited] => 
                                            [_joinCount:CActiveFinder:private] => 0
                                            [_joinTree:CActiveFinder:private] => CJoinElement Object
 *RECURSION*
                                            [_builder:CActiveFinder:private] => CMysqlCommandBuilder Object
                                                (
                                                    [_schema:CDbCommandBuilder:private] => CMysqlSchema Object
                                                        (
                                                            [columnTypes] => Array
                                                                (
                                                                    [pk] => int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY
                                                                    [string] => varchar(255)
                                                                    [text] => text
                                                                    [integer] => int(11)
                                                                    [float] => float
                                                                    [decimal] => decimal
                                                                    [datetime] => datetime
                                                                    [timestamp] => timestamp
                                                                    [time] => time
                                                                    [date] => date
                                                                    [binary] => blob
                                                                    [boolean] => tinyint(1)
                                                                    [money] => decimal(19,4)
                                                                )

                                                            [_tableNames:CDbSchema:private] => Array
                                                                (
                                                                )

                                                            [_tables:CDbSchema:private] => Array
                                                                (
                                                                    [tickets] => CMysqlTableSchema Object
                                                                        (
                                                                            [schemaName] => 
                                                                            [name] => tickets
                                                                            [rawName] => `tickets`
                                                                            [primaryKey] => id
                                                                            [sequenceName] => 
                                                                            [foreignKeys] => Array
                                                                                (
                                                                                    [event_id] => Array
                                                                                        (
                                                                                            [0] => events
                                                                                            [1] => id
                                                                                        )

                                                                                )

                                                                            [columns] => Array
                                                                                (
                                                                                    [id] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => id
                                                                                            [rawName] => `id`
                                                                                            [allowNull] => 
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 1
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 1
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [date] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => date
                                                                                            [rawName] => `date`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => datetime
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 
                                                                                            [precision] => 
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [event_id] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => event_id
                                                                                            [rawName] => `event_id`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 1
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [type_of_ticket] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => type_of_ticket
                                                                                            [rawName] => `type_of_ticket`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [description_of_ticket] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => description_of_ticket
                                                                                            [rawName] => `description_of_ticket`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ticket_code] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ticket_code
                                                                                            [rawName] => `ticket_code`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [quantity] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => quantity
                                                                                            [rawName] => `quantity`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [price] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => price
                                                                                            [rawName] => `price`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => decimal(10,0)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 10
                                                                                            [precision] => 10
                                                                                            [scale] => 0
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ticket_code_org] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ticket_code_org
                                                                                            [rawName] => `ticket_code_org`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [seat_map] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => seat_map
                                                                                            [rawName] => `seat_map`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => tinyint(1)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 0
                                                                                            [size] => 1
                                                                                            [precision] => 1
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [pic_seat_map] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => pic_seat_map
                                                                                            [rawName] => `pic_seat_map`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ranking] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ranking
                                                                                            [rawName] => `ranking`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [remain_quantity] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => remain_quantity
                                                                                            [rawName] => `remain_quantity`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [created_by] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => created_by
                                                                                            [rawName] => `created_by`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [updated_date] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => updated_date
                                                                                            [rawName] => `updated_date`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => datetime
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 
                                                                                            [precision] => 
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [updated_by] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => updated_by
                                                                                            [rawName] => `updated_by`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                )

                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                )

                                                            [_connection:CDbSchema:private] => CDbConnection Object
                                                                (
                                                                    [connectionString] => mysql:host=localhost;dbname=booking
                                                                    [username] => root
                                                                    [password] => 
                                                                    [schemaCachingDuration] => 0
                                                                    [schemaCachingExclude] => Array
                                                                        (
                                                                        )

                                                                    [schemaCacheID] => cache
                                                                    [queryCachingDuration] => 0
                                                                    [queryCachingDependency] => 
                                                                    [queryCachingCount] => 0
                                                                    [queryCacheID] => cache
                                                                    [autoConnect] => 1
                                                                    [charset] => utf8
                                                                    [emulatePrepare] => 1
                                                                    [enableParamLogging] => 
                                                                    [enableProfiling] => 
                                                                    [tablePrefix] => 
                                                                    [initSQLs] => 
                                                                    [driverMap] => Array
                                                                        (
                                                                            [pgsql] => CPgsqlSchema
                                                                            [mysqli] => CMysqlSchema
                                                                            [mysql] => CMysqlSchema
                                                                            [sqlite] => CSqliteSchema
                                                                            [sqlite2] => CSqliteSchema
                                                                            [mssql] => CMssqlSchema
                                                                            [dblib] => CMssqlSchema
                                                                            [sqlsrv] => CMssqlSchema
                                                                            [oci] => COciSchema
                                                                        )

                                                                    [pdoClass] => PDO
                                                                    [_attributes:CDbConnection:private] => Array
                                                                        (
                                                                        )

                                                                    [_active:CDbConnection:private] => 1
                                                                    [_pdo:CDbConnection:private] => PDO Object
                                                                        (
                                                                        )

                                                                    [_transaction:CDbConnection:private] => 
                                                                    [_schema:CDbConnection:private] => CMysqlSchema Object
 *RECURSION*
                                                                    [behaviors] => Array
                                                                        (
                                                                        )

                                                                    [_initialized:CApplicationComponent:private] => 1
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [_builder:CDbSchema:private] => CMysqlCommandBuilder Object
 *RECURSION*
                                                            [_cacheExclude:CDbSchema:private] => Array
                                                                (
                                                                )

                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [_connection:CDbCommandBuilder:private] => CDbConnection Object
                                                        (
                                                            [connectionString] => mysql:host=localhost;dbname=booking
                                                            [username] => root
                                                            [password] => 
                                                            [schemaCachingDuration] => 0
                                                            [schemaCachingExclude] => Array
                                                                (
                                                                )

                                                            [schemaCacheID] => cache
                                                            [queryCachingDuration] => 0
                                                            [queryCachingDependency] => 
                                                            [queryCachingCount] => 0
                                                            [queryCacheID] => cache
                                                            [autoConnect] => 1
                                                            [charset] => utf8
                                                            [emulatePrepare] => 1
                                                            [enableParamLogging] => 
                                                            [enableProfiling] => 
                                                            [tablePrefix] => 
                                                            [initSQLs] => 
                                                            [driverMap] => Array
                                                                (
                                                                    [pgsql] => CPgsqlSchema
                                                                    [mysqli] => CMysqlSchema
                                                                    [mysql] => CMysqlSchema
                                                                    [sqlite] => CSqliteSchema
                                                                    [sqlite2] => CSqliteSchema
                                                                    [mssql] => CMssqlSchema
                                                                    [dblib] => CMssqlSchema
                                                                    [sqlsrv] => CMssqlSchema
                                                                    [oci] => COciSchema
                                                                )

                                                            [pdoClass] => PDO
                                                            [_attributes:CDbConnection:private] => Array
                                                                (
                                                                )

                                                            [_active:CDbConnection:private] => 1
                                                            [_pdo:CDbConnection:private] => PDO Object
                                                                (
                                                                )

                                                            [_transaction:CDbConnection:private] => 
                                                            [_schema:CDbConnection:private] => CMysqlSchema Object
                                                                (
                                                                    [columnTypes] => Array
                                                                        (
                                                                            [pk] => int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY
                                                                            [string] => varchar(255)
                                                                            [text] => text
                                                                            [integer] => int(11)
                                                                            [float] => float
                                                                            [decimal] => decimal
                                                                            [datetime] => datetime
                                                                            [timestamp] => timestamp
                                                                            [time] => time
                                                                            [date] => date
                                                                            [binary] => blob
                                                                            [boolean] => tinyint(1)
                                                                            [money] => decimal(19,4)
                                                                        )

                                                                    [_tableNames:CDbSchema:private] => Array
                                                                        (
                                                                        )

                                                                    [_tables:CDbSchema:private] => Array
                                                                        (
                                                                            [tickets] => CMysqlTableSchema Object
                                                                                (
                                                                                    [schemaName] => 
                                                                                    [name] => tickets
                                                                                    [rawName] => `tickets`
                                                                                    [primaryKey] => id
                                                                                    [sequenceName] => 
                                                                                    [foreignKeys] => Array
                                                                                        (
                                                                                            [event_id] => Array
                                                                                                (
                                                                                                    [0] => events
                                                                                                    [1] => id
                                                                                                )

                                                                                        )

                                                                                    [columns] => Array
                                                                                        (
                                                                                            [id] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => id
                                                                                                    [rawName] => `id`
                                                                                                    [allowNull] => 
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 1
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 1
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [date] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => date
                                                                                                    [rawName] => `date`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => datetime
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 
                                                                                                    [precision] => 
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [event_id] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => event_id
                                                                                                    [rawName] => `event_id`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 1
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [type_of_ticket] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => type_of_ticket
                                                                                                    [rawName] => `type_of_ticket`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => varchar(255)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 255
                                                                                                    [precision] => 255
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [description_of_ticket] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => description_of_ticket
                                                                                                    [rawName] => `description_of_ticket`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => varchar(255)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 255
                                                                                                    [precision] => 255
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [ticket_code] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => ticket_code
                                                                                                    [rawName] => `ticket_code`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => varchar(255)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 255
                                                                                                    [precision] => 255
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [quantity] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => quantity
                                                                                                    [rawName] => `quantity`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [price] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => price
                                                                                                    [rawName] => `price`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => decimal(10,0)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 10
                                                                                                    [precision] => 10
                                                                                                    [scale] => 0
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [ticket_code_org] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => ticket_code_org
                                                                                                    [rawName] => `ticket_code_org`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => varchar(255)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 255
                                                                                                    [precision] => 255
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [seat_map] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => seat_map
                                                                                                    [rawName] => `seat_map`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => tinyint(1)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 0
                                                                                                    [size] => 1
                                                                                                    [precision] => 1
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [pic_seat_map] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => pic_seat_map
                                                                                                    [rawName] => `pic_seat_map`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => varchar(255)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 255
                                                                                                    [precision] => 255
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [ranking] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => ranking
                                                                                                    [rawName] => `ranking`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [remain_quantity] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => remain_quantity
                                                                                                    [rawName] => `remain_quantity`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [created_by] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => created_by
                                                                                                    [rawName] => `created_by`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [updated_date] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => updated_date
                                                                                                    [rawName] => `updated_date`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => datetime
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 
                                                                                                    [precision] => 
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [updated_by] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => updated_by
                                                                                                    [rawName] => `updated_by`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                        )

                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                        )

                                                                    [_connection:CDbSchema:private] => CDbConnection Object
 *RECURSION*
                                                                    [_builder:CDbSchema:private] => CMysqlCommandBuilder Object
 *RECURSION*
                                                                    [_cacheExclude:CDbSchema:private] => Array
                                                                        (
                                                                        )

                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [behaviors] => Array
                                                                (
                                                                )

                                                            [_initialized:CApplicationComponent:private] => 1
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [_e:CComponent:private] => 
                                                    [_m:CComponent:private] => 
                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_builder:CJoinElement:private] => CMysqlCommandBuilder Object
                                        (
                                            [_schema:CDbCommandBuilder:private] => CMysqlSchema Object
                                                (
                                                    [columnTypes] => Array
                                                        (
                                                            [pk] => int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY
                                                            [string] => varchar(255)
                                                            [text] => text
                                                            [integer] => int(11)
                                                            [float] => float
                                                            [decimal] => decimal
                                                            [datetime] => datetime
                                                            [timestamp] => timestamp
                                                            [time] => time
                                                            [date] => date
                                                            [binary] => blob
                                                            [boolean] => tinyint(1)
                                                            [money] => decimal(19,4)
                                                        )

                                                    [_tableNames:CDbSchema:private] => Array
                                                        (
                                                        )

                                                    [_tables:CDbSchema:private] => Array
                                                        (
                                                            [tickets] => CMysqlTableSchema Object
                                                                (
                                                                    [schemaName] => 
                                                                    [name] => tickets
                                                                    [rawName] => `tickets`
                                                                    [primaryKey] => id
                                                                    [sequenceName] => 
                                                                    [foreignKeys] => Array
                                                                        (
                                                                            [event_id] => Array
                                                                                (
                                                                                    [0] => events
                                                                                    [1] => id
                                                                                )

                                                                        )

                                                                    [columns] => Array
                                                                        (
                                                                            [id] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => id
                                                                                    [rawName] => `id`
                                                                                    [allowNull] => 
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 1
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 1
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [date] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => date
                                                                                    [rawName] => `date`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => datetime
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 
                                                                                    [precision] => 
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [event_id] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => event_id
                                                                                    [rawName] => `event_id`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 1
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [type_of_ticket] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => type_of_ticket
                                                                                    [rawName] => `type_of_ticket`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => varchar(255)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 255
                                                                                    [precision] => 255
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [description_of_ticket] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => description_of_ticket
                                                                                    [rawName] => `description_of_ticket`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => varchar(255)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 255
                                                                                    [precision] => 255
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [ticket_code] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => ticket_code
                                                                                    [rawName] => `ticket_code`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => varchar(255)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 255
                                                                                    [precision] => 255
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [quantity] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => quantity
                                                                                    [rawName] => `quantity`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [price] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => price
                                                                                    [rawName] => `price`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => decimal(10,0)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 10
                                                                                    [precision] => 10
                                                                                    [scale] => 0
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [ticket_code_org] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => ticket_code_org
                                                                                    [rawName] => `ticket_code_org`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => varchar(255)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 255
                                                                                    [precision] => 255
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [seat_map] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => seat_map
                                                                                    [rawName] => `seat_map`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => tinyint(1)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 0
                                                                                    [size] => 1
                                                                                    [precision] => 1
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [pic_seat_map] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => pic_seat_map
                                                                                    [rawName] => `pic_seat_map`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => varchar(255)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 255
                                                                                    [precision] => 255
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [ranking] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => ranking
                                                                                    [rawName] => `ranking`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [remain_quantity] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => remain_quantity
                                                                                    [rawName] => `remain_quantity`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [created_by] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => created_by
                                                                                    [rawName] => `created_by`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [updated_date] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => updated_date
                                                                                    [rawName] => `updated_date`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => datetime
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 
                                                                                    [precision] => 
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [updated_by] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => updated_by
                                                                                    [rawName] => `updated_by`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                        )

                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                        )

                                                    [_connection:CDbSchema:private] => CDbConnection Object
                                                        (
                                                            [connectionString] => mysql:host=localhost;dbname=booking
                                                            [username] => root
                                                            [password] => 
                                                            [schemaCachingDuration] => 0
                                                            [schemaCachingExclude] => Array
                                                                (
                                                                )

                                                            [schemaCacheID] => cache
                                                            [queryCachingDuration] => 0
                                                            [queryCachingDependency] => 
                                                            [queryCachingCount] => 0
                                                            [queryCacheID] => cache
                                                            [autoConnect] => 1
                                                            [charset] => utf8
                                                            [emulatePrepare] => 1
                                                            [enableParamLogging] => 
                                                            [enableProfiling] => 
                                                            [tablePrefix] => 
                                                            [initSQLs] => 
                                                            [driverMap] => Array
                                                                (
                                                                    [pgsql] => CPgsqlSchema
                                                                    [mysqli] => CMysqlSchema
                                                                    [mysql] => CMysqlSchema
                                                                    [sqlite] => CSqliteSchema
                                                                    [sqlite2] => CSqliteSchema
                                                                    [mssql] => CMssqlSchema
                                                                    [dblib] => CMssqlSchema
                                                                    [sqlsrv] => CMssqlSchema
                                                                    [oci] => COciSchema
                                                                )

                                                            [pdoClass] => PDO
                                                            [_attributes:CDbConnection:private] => Array
                                                                (
                                                                )

                                                            [_active:CDbConnection:private] => 1
                                                            [_pdo:CDbConnection:private] => PDO Object
                                                                (
                                                                )

                                                            [_transaction:CDbConnection:private] => 
                                                            [_schema:CDbConnection:private] => CMysqlSchema Object
 *RECURSION*
                                                            [behaviors] => Array
                                                                (
                                                                )

                                                            [_initialized:CApplicationComponent:private] => 1
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [_builder:CDbSchema:private] => CMysqlCommandBuilder Object
 *RECURSION*
                                                    [_cacheExclude:CDbSchema:private] => Array
                                                        (
                                                        )

                                                    [_e:CComponent:private] => 
                                                    [_m:CComponent:private] => 
                                                )

                                            [_connection:CDbCommandBuilder:private] => CDbConnection Object
                                                (
                                                    [connectionString] => mysql:host=localhost;dbname=booking
                                                    [username] => root
                                                    [password] => 
                                                    [schemaCachingDuration] => 0
                                                    [schemaCachingExclude] => Array
                                                        (
                                                        )

                                                    [schemaCacheID] => cache
                                                    [queryCachingDuration] => 0
                                                    [queryCachingDependency] => 
                                                    [queryCachingCount] => 0
                                                    [queryCacheID] => cache
                                                    [autoConnect] => 1
                                                    [charset] => utf8
                                                    [emulatePrepare] => 1
                                                    [enableParamLogging] => 
                                                    [enableProfiling] => 
                                                    [tablePrefix] => 
                                                    [initSQLs] => 
                                                    [driverMap] => Array
                                                        (
                                                            [pgsql] => CPgsqlSchema
                                                            [mysqli] => CMysqlSchema
                                                            [mysql] => CMysqlSchema
                                                            [sqlite] => CSqliteSchema
                                                            [sqlite2] => CSqliteSchema
                                                            [mssql] => CMssqlSchema
                                                            [dblib] => CMssqlSchema
                                                            [sqlsrv] => CMssqlSchema
                                                            [oci] => COciSchema
                                                        )

                                                    [pdoClass] => PDO
                                                    [_attributes:CDbConnection:private] => Array
                                                        (
                                                        )

                                                    [_active:CDbConnection:private] => 1
                                                    [_pdo:CDbConnection:private] => PDO Object
                                                        (
                                                        )

                                                    [_transaction:CDbConnection:private] => 
                                                    [_schema:CDbConnection:private] => CMysqlSchema Object
                                                        (
                                                            [columnTypes] => Array
                                                                (
                                                                    [pk] => int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY
                                                                    [string] => varchar(255)
                                                                    [text] => text
                                                                    [integer] => int(11)
                                                                    [float] => float
                                                                    [decimal] => decimal
                                                                    [datetime] => datetime
                                                                    [timestamp] => timestamp
                                                                    [time] => time
                                                                    [date] => date
                                                                    [binary] => blob
                                                                    [boolean] => tinyint(1)
                                                                    [money] => decimal(19,4)
                                                                )

                                                            [_tableNames:CDbSchema:private] => Array
                                                                (
                                                                )

                                                            [_tables:CDbSchema:private] => Array
                                                                (
                                                                    [tickets] => CMysqlTableSchema Object
                                                                        (
                                                                            [schemaName] => 
                                                                            [name] => tickets
                                                                            [rawName] => `tickets`
                                                                            [primaryKey] => id
                                                                            [sequenceName] => 
                                                                            [foreignKeys] => Array
                                                                                (
                                                                                    [event_id] => Array
                                                                                        (
                                                                                            [0] => events
                                                                                            [1] => id
                                                                                        )

                                                                                )

                                                                            [columns] => Array
                                                                                (
                                                                                    [id] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => id
                                                                                            [rawName] => `id`
                                                                                            [allowNull] => 
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 1
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 1
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [date] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => date
                                                                                            [rawName] => `date`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => datetime
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 
                                                                                            [precision] => 
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [event_id] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => event_id
                                                                                            [rawName] => `event_id`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 1
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [type_of_ticket] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => type_of_ticket
                                                                                            [rawName] => `type_of_ticket`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [description_of_ticket] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => description_of_ticket
                                                                                            [rawName] => `description_of_ticket`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ticket_code] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ticket_code
                                                                                            [rawName] => `ticket_code`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [quantity] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => quantity
                                                                                            [rawName] => `quantity`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [price] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => price
                                                                                            [rawName] => `price`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => decimal(10,0)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 10
                                                                                            [precision] => 10
                                                                                            [scale] => 0
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ticket_code_org] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ticket_code_org
                                                                                            [rawName] => `ticket_code_org`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [seat_map] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => seat_map
                                                                                            [rawName] => `seat_map`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => tinyint(1)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 0
                                                                                            [size] => 1
                                                                                            [precision] => 1
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [pic_seat_map] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => pic_seat_map
                                                                                            [rawName] => `pic_seat_map`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ranking] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ranking
                                                                                            [rawName] => `ranking`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [remain_quantity] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => remain_quantity
                                                                                            [rawName] => `remain_quantity`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [created_by] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => created_by
                                                                                            [rawName] => `created_by`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [updated_date] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => updated_date
                                                                                            [rawName] => `updated_date`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => datetime
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 
                                                                                            [precision] => 
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [updated_by] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => updated_by
                                                                                            [rawName] => `updated_by`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                )

                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                )

                                                            [_connection:CDbSchema:private] => CDbConnection Object
 *RECURSION*
                                                            [_builder:CDbSchema:private] => CMysqlCommandBuilder Object
 *RECURSION*
                                                            [_cacheExclude:CDbSchema:private] => Array
                                                                (
                                                                )

                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [behaviors] => Array
                                                        (
                                                        )

                                                    [_initialized:CApplicationComponent:private] => 1
                                                    [_e:CComponent:private] => 
                                                    [_m:CComponent:private] => 
                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_parent:CJoinElement:private] => 
                                    [_pkAlias:CJoinElement:private] => t0_c0
                                    [_columnAliases:CJoinElement:private] => Array
                                        (
                                            [id] => t0_c0
                                            [date] => t0_c1
                                            [event_id] => t0_c2
                                            [type_of_ticket] => t0_c3
                                            [description_of_ticket] => t0_c4
                                            [ticket_code] => t0_c5
                                            [quantity] => t0_c6
                                            [price] => t0_c7
                                            [ticket_code_org] => t0_c8
                                            [seat_map] => t0_c9
                                            [pic_seat_map] => t0_c10
                                            [ranking] => t0_c11
                                            [remain_quantity] => t0_c12
                                            [created_by] => t0_c13
                                            [updated_date] => t0_c14
                                            [updated_by] => t0_c15
                                        )

                                    [_joined:CJoinElement:private] => 
                                    [_table:CJoinElement:private] => CMysqlTableSchema Object
                                        (
                                            [schemaName] => 
                                            [name] => tickets
                                            [rawName] => `tickets`
                                            [primaryKey] => id
                                            [sequenceName] => 
                                            [foreignKeys] => Array
                                                (
                                                    [event_id] => Array
                                                        (
                                                            [0] => events
                                                            [1] => id
                                                        )

                                                )

                                            [columns] => Array
                                                (
                                                    [id] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => id
                                                            [rawName] => `id`
                                                            [allowNull] => 
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 1
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 1
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [date] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => date
                                                            [rawName] => `date`
                                                            [allowNull] => 1
                                                            [dbType] => datetime
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 
                                                            [precision] => 
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [event_id] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => event_id
                                                            [rawName] => `event_id`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 1
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [type_of_ticket] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => type_of_ticket
                                                            [rawName] => `type_of_ticket`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [description_of_ticket] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => description_of_ticket
                                                            [rawName] => `description_of_ticket`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [ticket_code] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => ticket_code
                                                            [rawName] => `ticket_code`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [quantity] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => quantity
                                                            [rawName] => `quantity`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [price] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => price
                                                            [rawName] => `price`
                                                            [allowNull] => 1
                                                            [dbType] => decimal(10,0)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 10
                                                            [precision] => 10
                                                            [scale] => 0
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [ticket_code_org] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => ticket_code_org
                                                            [rawName] => `ticket_code_org`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [seat_map] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => seat_map
                                                            [rawName] => `seat_map`
                                                            [allowNull] => 1
                                                            [dbType] => tinyint(1)
                                                            [type] => integer
                                                            [defaultValue] => 0
                                                            [size] => 1
                                                            [precision] => 1
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [pic_seat_map] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => pic_seat_map
                                                            [rawName] => `pic_seat_map`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [ranking] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => ranking
                                                            [rawName] => `ranking`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [remain_quantity] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => remain_quantity
                                                            [rawName] => `remain_quantity`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [created_by] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => created_by
                                                            [rawName] => `created_by`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [updated_date] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => updated_date
                                                            [rawName] => `updated_date`
                                                            [allowNull] => 1
                                                            [dbType] => datetime
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 
                                                            [precision] => 
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [updated_by] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => updated_by
                                                            [rawName] => `updated_by`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_related:CJoinElement:private] => Array
                                        (
                                        )

                                )

                            [1] => events
                        )

                )

            [1] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\db\ar\CActiveFinder.php
                    [line] => 48
                    [function] => buildJoinTree
                    [class] => CActiveFinder
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CJoinElement Object
                                (
                                    [id] => 0
                                    [relation] => 
                                    [master] => 
                                    [slave] => 
                                    [model] => Ticket Object
                                        (
                                            [fileImage] => 
                                            [_md:CActiveRecord:private] => CActiveRecordMetaData Object
                                                (
                                                    [tableSchema] => CMysqlTableSchema Object
                                                        (
                                                            [schemaName] => 
                                                            [name] => tickets
                                                            [rawName] => `tickets`
                                                            [primaryKey] => id
                                                            [sequenceName] => 
                                                            [foreignKeys] => Array
                                                                (
                                                                    [event_id] => Array
                                                                        (
                                                                            [0] => events
                                                                            [1] => id
                                                                        )

                                                                )

                                                            [columns] => Array
                                                                (
                                                                    [id] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => id
                                                                            [rawName] => `id`
                                                                            [allowNull] => 
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 1
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 1
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [date] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => date
                                                                            [rawName] => `date`
                                                                            [allowNull] => 1
                                                                            [dbType] => datetime
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 
                                                                            [precision] => 
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [event_id] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => event_id
                                                                            [rawName] => `event_id`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 1
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [type_of_ticket] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => type_of_ticket
                                                                            [rawName] => `type_of_ticket`
                                                                            [allowNull] => 1
                                                                            [dbType] => varchar(255)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 255
                                                                            [precision] => 255
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [description_of_ticket] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => description_of_ticket
                                                                            [rawName] => `description_of_ticket`
                                                                            [allowNull] => 1
                                                                            [dbType] => varchar(255)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 255
                                                                            [precision] => 255
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [ticket_code] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => ticket_code
                                                                            [rawName] => `ticket_code`
                                                                            [allowNull] => 1
                                                                            [dbType] => varchar(255)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 255
                                                                            [precision] => 255
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [quantity] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => quantity
                                                                            [rawName] => `quantity`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [price] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => price
                                                                            [rawName] => `price`
                                                                            [allowNull] => 1
                                                                            [dbType] => decimal(10,0)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 10
                                                                            [precision] => 10
                                                                            [scale] => 0
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [ticket_code_org] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => ticket_code_org
                                                                            [rawName] => `ticket_code_org`
                                                                            [allowNull] => 1
                                                                            [dbType] => varchar(255)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 255
                                                                            [precision] => 255
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [seat_map] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => seat_map
                                                                            [rawName] => `seat_map`
                                                                            [allowNull] => 1
                                                                            [dbType] => tinyint(1)
                                                                            [type] => integer
                                                                            [defaultValue] => 0
                                                                            [size] => 1
                                                                            [precision] => 1
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [pic_seat_map] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => pic_seat_map
                                                                            [rawName] => `pic_seat_map`
                                                                            [allowNull] => 1
                                                                            [dbType] => varchar(255)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 255
                                                                            [precision] => 255
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [ranking] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => ranking
                                                                            [rawName] => `ranking`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [remain_quantity] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => remain_quantity
                                                                            [rawName] => `remain_quantity`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [created_by] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => created_by
                                                                            [rawName] => `created_by`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [updated_date] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => updated_date
                                                                            [rawName] => `updated_date`
                                                                            [allowNull] => 1
                                                                            [dbType] => datetime
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 
                                                                            [precision] => 
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [updated_by] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => updated_by
                                                                            [rawName] => `updated_by`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                )

                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [columns] => Array
                                                        (
                                                            [id] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => id
                                                                    [rawName] => `id`
                                                                    [allowNull] => 
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 1
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 1
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [date] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => date
                                                                    [rawName] => `date`
                                                                    [allowNull] => 1
                                                                    [dbType] => datetime
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 
                                                                    [precision] => 
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [event_id] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => event_id
                                                                    [rawName] => `event_id`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 1
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [type_of_ticket] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => type_of_ticket
                                                                    [rawName] => `type_of_ticket`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [description_of_ticket] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => description_of_ticket
                                                                    [rawName] => `description_of_ticket`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [ticket_code] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => ticket_code
                                                                    [rawName] => `ticket_code`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [quantity] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => quantity
                                                                    [rawName] => `quantity`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [price] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => price
                                                                    [rawName] => `price`
                                                                    [allowNull] => 1
                                                                    [dbType] => decimal(10,0)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 10
                                                                    [precision] => 10
                                                                    [scale] => 0
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [ticket_code_org] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => ticket_code_org
                                                                    [rawName] => `ticket_code_org`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [seat_map] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => seat_map
                                                                    [rawName] => `seat_map`
                                                                    [allowNull] => 1
                                                                    [dbType] => tinyint(1)
                                                                    [type] => integer
                                                                    [defaultValue] => 0
                                                                    [size] => 1
                                                                    [precision] => 1
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [pic_seat_map] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => pic_seat_map
                                                                    [rawName] => `pic_seat_map`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [ranking] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => ranking
                                                                    [rawName] => `ranking`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [remain_quantity] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => remain_quantity
                                                                    [rawName] => `remain_quantity`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [created_by] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => created_by
                                                                    [rawName] => `created_by`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [updated_date] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => updated_date
                                                                    [rawName] => `updated_date`
                                                                    [allowNull] => 1
                                                                    [dbType] => datetime
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 
                                                                    [precision] => 
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [updated_by] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => updated_by
                                                                    [rawName] => `updated_by`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                        )

                                                    [relations] => Array
                                                        (
                                                            [booked] => CHasManyRelation Object
                                                                (
                                                                    [limit] => -1
                                                                    [offset] => -1
                                                                    [index] => 
                                                                    [through] => 
                                                                    [joinType] => LEFT OUTER JOIN
                                                                    [on] => 
                                                                    [alias] => 
                                                                    [with] => Array
                                                                        (
                                                                        )

                                                                    [together] => 
                                                                    [scopes] => 
                                                                    [name] => booked
                                                                    [className] => Booked
                                                                    [foreignKey] => ticket_id
                                                                    [select] => *
                                                                    [condition] => 
                                                                    [params] => Array
                                                                        (
                                                                        )

                                                                    [group] => 
                                                                    [join] => 
                                                                    [having] => 
                                                                    [order] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [event] => CBelongsToRelation Object
                                                                (
                                                                    [joinType] => LEFT OUTER JOIN
                                                                    [on] => 
                                                                    [alias] => 
                                                                    [with] => Array
                                                                        (
                                                                        )

                                                                    [together] => 
                                                                    [scopes] => 
                                                                    [name] => event
                                                                    [className] => Event
                                                                    [foreignKey] => event_id
                                                                    [select] => *
                                                                    [condition] => 
                                                                    [params] => Array
                                                                        (
                                                                        )

                                                                    [group] => 
                                                                    [join] => 
                                                                    [having] => 
                                                                    [order] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [update_user] => CHasOneRelation Object
                                                                (
                                                                    [through] => 
                                                                    [joinType] => LEFT OUTER JOIN
                                                                    [on] => 
                                                                    [alias] => 
                                                                    [with] => Array
                                                                        (
                                                                        )

                                                                    [together] => 
                                                                    [scopes] => 
                                                                    [name] => update_user
                                                                    [className] => Users
                                                                    [foreignKey] => updated_by
                                                                    [select] => *
                                                                    [condition] => 
                                                                    [params] => Array
                                                                        (
                                                                        )

                                                                    [group] => 
                                                                    [join] => 
                                                                    [having] => 
                                                                    [order] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [create_user] => CHasOneRelation Object
                                                                (
                                                                    [through] => 
                                                                    [joinType] => LEFT OUTER JOIN
                                                                    [on] => 
                                                                    [alias] => 
                                                                    [with] => Array
                                                                        (
                                                                        )

                                                                    [together] => 
                                                                    [scopes] => 
                                                                    [name] => create_user
                                                                    [className] => Users
                                                                    [foreignKey] => created_by
                                                                    [select] => *
                                                                    [condition] => 
                                                                    [params] => Array
                                                                        (
                                                                        )

                                                                    [group] => 
                                                                    [join] => 
                                                                    [having] => 
                                                                    [order] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                        )

                                                    [attributeDefaults] => Array
                                                        (
                                                            [seat_map] => 0
                                                        )

                                                    [_model:CActiveRecordMetaData:private] => Ticket Object
 *RECURSION*
                                                )

                                            [_new:CActiveRecord:private] => 
                                            [_attributes:CActiveRecord:private] => Array
                                                (
                                                )

                                            [_related:CActiveRecord:private] => Array
                                                (
                                                )

                                            [_c:CActiveRecord:private] => 
                                            [_pk:CActiveRecord:private] => 
                                            [_alias:CActiveRecord:private] => t
                                            [_errors:CModel:private] => Array
                                                (
                                                )

                                            [_validators:CModel:private] => 
                                            [_scenario:CModel:private] => 
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [records] => Array
                                        (
                                        )

                                    [children] => Array
                                        (
                                        )

                                    [stats] => Array
                                        (
                                        )

                                    [tableAlias] => t
                                    [rawTableAlias] => `t`
                                    [_finder:CJoinElement:private] => CActiveFinder Object
                                        (
                                            [joinAll] => 
                                            [baseLimited] => 
                                            [_joinCount:CActiveFinder:private] => 0
                                            [_joinTree:CActiveFinder:private] => CJoinElement Object
 *RECURSION*
                                            [_builder:CActiveFinder:private] => CMysqlCommandBuilder Object
                                                (
                                                    [_schema:CDbCommandBuilder:private] => CMysqlSchema Object
                                                        (
                                                            [columnTypes] => Array
                                                                (
                                                                    [pk] => int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY
                                                                    [string] => varchar(255)
                                                                    [text] => text
                                                                    [integer] => int(11)
                                                                    [float] => float
                                                                    [decimal] => decimal
                                                                    [datetime] => datetime
                                                                    [timestamp] => timestamp
                                                                    [time] => time
                                                                    [date] => date
                                                                    [binary] => blob
                                                                    [boolean] => tinyint(1)
                                                                    [money] => decimal(19,4)
                                                                )

                                                            [_tableNames:CDbSchema:private] => Array
                                                                (
                                                                )

                                                            [_tables:CDbSchema:private] => Array
                                                                (
                                                                    [tickets] => CMysqlTableSchema Object
                                                                        (
                                                                            [schemaName] => 
                                                                            [name] => tickets
                                                                            [rawName] => `tickets`
                                                                            [primaryKey] => id
                                                                            [sequenceName] => 
                                                                            [foreignKeys] => Array
                                                                                (
                                                                                    [event_id] => Array
                                                                                        (
                                                                                            [0] => events
                                                                                            [1] => id
                                                                                        )

                                                                                )

                                                                            [columns] => Array
                                                                                (
                                                                                    [id] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => id
                                                                                            [rawName] => `id`
                                                                                            [allowNull] => 
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 1
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 1
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [date] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => date
                                                                                            [rawName] => `date`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => datetime
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 
                                                                                            [precision] => 
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [event_id] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => event_id
                                                                                            [rawName] => `event_id`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 1
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [type_of_ticket] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => type_of_ticket
                                                                                            [rawName] => `type_of_ticket`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [description_of_ticket] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => description_of_ticket
                                                                                            [rawName] => `description_of_ticket`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ticket_code] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ticket_code
                                                                                            [rawName] => `ticket_code`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [quantity] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => quantity
                                                                                            [rawName] => `quantity`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [price] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => price
                                                                                            [rawName] => `price`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => decimal(10,0)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 10
                                                                                            [precision] => 10
                                                                                            [scale] => 0
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ticket_code_org] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ticket_code_org
                                                                                            [rawName] => `ticket_code_org`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [seat_map] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => seat_map
                                                                                            [rawName] => `seat_map`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => tinyint(1)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 0
                                                                                            [size] => 1
                                                                                            [precision] => 1
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [pic_seat_map] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => pic_seat_map
                                                                                            [rawName] => `pic_seat_map`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ranking] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ranking
                                                                                            [rawName] => `ranking`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [remain_quantity] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => remain_quantity
                                                                                            [rawName] => `remain_quantity`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [created_by] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => created_by
                                                                                            [rawName] => `created_by`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [updated_date] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => updated_date
                                                                                            [rawName] => `updated_date`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => datetime
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 
                                                                                            [precision] => 
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [updated_by] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => updated_by
                                                                                            [rawName] => `updated_by`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                )

                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                )

                                                            [_connection:CDbSchema:private] => CDbConnection Object
                                                                (
                                                                    [connectionString] => mysql:host=localhost;dbname=booking
                                                                    [username] => root
                                                                    [password] => 
                                                                    [schemaCachingDuration] => 0
                                                                    [schemaCachingExclude] => Array
                                                                        (
                                                                        )

                                                                    [schemaCacheID] => cache
                                                                    [queryCachingDuration] => 0
                                                                    [queryCachingDependency] => 
                                                                    [queryCachingCount] => 0
                                                                    [queryCacheID] => cache
                                                                    [autoConnect] => 1
                                                                    [charset] => utf8
                                                                    [emulatePrepare] => 1
                                                                    [enableParamLogging] => 
                                                                    [enableProfiling] => 
                                                                    [tablePrefix] => 
                                                                    [initSQLs] => 
                                                                    [driverMap] => Array
                                                                        (
                                                                            [pgsql] => CPgsqlSchema
                                                                            [mysqli] => CMysqlSchema
                                                                            [mysql] => CMysqlSchema
                                                                            [sqlite] => CSqliteSchema
                                                                            [sqlite2] => CSqliteSchema
                                                                            [mssql] => CMssqlSchema
                                                                            [dblib] => CMssqlSchema
                                                                            [sqlsrv] => CMssqlSchema
                                                                            [oci] => COciSchema
                                                                        )

                                                                    [pdoClass] => PDO
                                                                    [_attributes:CDbConnection:private] => Array
                                                                        (
                                                                        )

                                                                    [_active:CDbConnection:private] => 1
                                                                    [_pdo:CDbConnection:private] => PDO Object
                                                                        (
                                                                        )

                                                                    [_transaction:CDbConnection:private] => 
                                                                    [_schema:CDbConnection:private] => CMysqlSchema Object
 *RECURSION*
                                                                    [behaviors] => Array
                                                                        (
                                                                        )

                                                                    [_initialized:CApplicationComponent:private] => 1
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [_builder:CDbSchema:private] => CMysqlCommandBuilder Object
 *RECURSION*
                                                            [_cacheExclude:CDbSchema:private] => Array
                                                                (
                                                                )

                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [_connection:CDbCommandBuilder:private] => CDbConnection Object
                                                        (
                                                            [connectionString] => mysql:host=localhost;dbname=booking
                                                            [username] => root
                                                            [password] => 
                                                            [schemaCachingDuration] => 0
                                                            [schemaCachingExclude] => Array
                                                                (
                                                                )

                                                            [schemaCacheID] => cache
                                                            [queryCachingDuration] => 0
                                                            [queryCachingDependency] => 
                                                            [queryCachingCount] => 0
                                                            [queryCacheID] => cache
                                                            [autoConnect] => 1
                                                            [charset] => utf8
                                                            [emulatePrepare] => 1
                                                            [enableParamLogging] => 
                                                            [enableProfiling] => 
                                                            [tablePrefix] => 
                                                            [initSQLs] => 
                                                            [driverMap] => Array
                                                                (
                                                                    [pgsql] => CPgsqlSchema
                                                                    [mysqli] => CMysqlSchema
                                                                    [mysql] => CMysqlSchema
                                                                    [sqlite] => CSqliteSchema
                                                                    [sqlite2] => CSqliteSchema
                                                                    [mssql] => CMssqlSchema
                                                                    [dblib] => CMssqlSchema
                                                                    [sqlsrv] => CMssqlSchema
                                                                    [oci] => COciSchema
                                                                )

                                                            [pdoClass] => PDO
                                                            [_attributes:CDbConnection:private] => Array
                                                                (
                                                                )

                                                            [_active:CDbConnection:private] => 1
                                                            [_pdo:CDbConnection:private] => PDO Object
                                                                (
                                                                )

                                                            [_transaction:CDbConnection:private] => 
                                                            [_schema:CDbConnection:private] => CMysqlSchema Object
                                                                (
                                                                    [columnTypes] => Array
                                                                        (
                                                                            [pk] => int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY
                                                                            [string] => varchar(255)
                                                                            [text] => text
                                                                            [integer] => int(11)
                                                                            [float] => float
                                                                            [decimal] => decimal
                                                                            [datetime] => datetime
                                                                            [timestamp] => timestamp
                                                                            [time] => time
                                                                            [date] => date
                                                                            [binary] => blob
                                                                            [boolean] => tinyint(1)
                                                                            [money] => decimal(19,4)
                                                                        )

                                                                    [_tableNames:CDbSchema:private] => Array
                                                                        (
                                                                        )

                                                                    [_tables:CDbSchema:private] => Array
                                                                        (
                                                                            [tickets] => CMysqlTableSchema Object
                                                                                (
                                                                                    [schemaName] => 
                                                                                    [name] => tickets
                                                                                    [rawName] => `tickets`
                                                                                    [primaryKey] => id
                                                                                    [sequenceName] => 
                                                                                    [foreignKeys] => Array
                                                                                        (
                                                                                            [event_id] => Array
                                                                                                (
                                                                                                    [0] => events
                                                                                                    [1] => id
                                                                                                )

                                                                                        )

                                                                                    [columns] => Array
                                                                                        (
                                                                                            [id] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => id
                                                                                                    [rawName] => `id`
                                                                                                    [allowNull] => 
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 1
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 1
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [date] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => date
                                                                                                    [rawName] => `date`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => datetime
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 
                                                                                                    [precision] => 
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [event_id] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => event_id
                                                                                                    [rawName] => `event_id`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 1
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [type_of_ticket] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => type_of_ticket
                                                                                                    [rawName] => `type_of_ticket`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => varchar(255)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 255
                                                                                                    [precision] => 255
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [description_of_ticket] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => description_of_ticket
                                                                                                    [rawName] => `description_of_ticket`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => varchar(255)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 255
                                                                                                    [precision] => 255
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [ticket_code] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => ticket_code
                                                                                                    [rawName] => `ticket_code`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => varchar(255)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 255
                                                                                                    [precision] => 255
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [quantity] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => quantity
                                                                                                    [rawName] => `quantity`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [price] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => price
                                                                                                    [rawName] => `price`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => decimal(10,0)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 10
                                                                                                    [precision] => 10
                                                                                                    [scale] => 0
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [ticket_code_org] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => ticket_code_org
                                                                                                    [rawName] => `ticket_code_org`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => varchar(255)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 255
                                                                                                    [precision] => 255
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [seat_map] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => seat_map
                                                                                                    [rawName] => `seat_map`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => tinyint(1)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 0
                                                                                                    [size] => 1
                                                                                                    [precision] => 1
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [pic_seat_map] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => pic_seat_map
                                                                                                    [rawName] => `pic_seat_map`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => varchar(255)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 255
                                                                                                    [precision] => 255
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [ranking] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => ranking
                                                                                                    [rawName] => `ranking`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [remain_quantity] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => remain_quantity
                                                                                                    [rawName] => `remain_quantity`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [created_by] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => created_by
                                                                                                    [rawName] => `created_by`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [updated_date] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => updated_date
                                                                                                    [rawName] => `updated_date`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => datetime
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 
                                                                                                    [precision] => 
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [updated_by] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => updated_by
                                                                                                    [rawName] => `updated_by`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                        )

                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                        )

                                                                    [_connection:CDbSchema:private] => CDbConnection Object
 *RECURSION*
                                                                    [_builder:CDbSchema:private] => CMysqlCommandBuilder Object
 *RECURSION*
                                                                    [_cacheExclude:CDbSchema:private] => Array
                                                                        (
                                                                        )

                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [behaviors] => Array
                                                                (
                                                                )

                                                            [_initialized:CApplicationComponent:private] => 1
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [_e:CComponent:private] => 
                                                    [_m:CComponent:private] => 
                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_builder:CJoinElement:private] => CMysqlCommandBuilder Object
                                        (
                                            [_schema:CDbCommandBuilder:private] => CMysqlSchema Object
                                                (
                                                    [columnTypes] => Array
                                                        (
                                                            [pk] => int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY
                                                            [string] => varchar(255)
                                                            [text] => text
                                                            [integer] => int(11)
                                                            [float] => float
                                                            [decimal] => decimal
                                                            [datetime] => datetime
                                                            [timestamp] => timestamp
                                                            [time] => time
                                                            [date] => date
                                                            [binary] => blob
                                                            [boolean] => tinyint(1)
                                                            [money] => decimal(19,4)
                                                        )

                                                    [_tableNames:CDbSchema:private] => Array
                                                        (
                                                        )

                                                    [_tables:CDbSchema:private] => Array
                                                        (
                                                            [tickets] => CMysqlTableSchema Object
                                                                (
                                                                    [schemaName] => 
                                                                    [name] => tickets
                                                                    [rawName] => `tickets`
                                                                    [primaryKey] => id
                                                                    [sequenceName] => 
                                                                    [foreignKeys] => Array
                                                                        (
                                                                            [event_id] => Array
                                                                                (
                                                                                    [0] => events
                                                                                    [1] => id
                                                                                )

                                                                        )

                                                                    [columns] => Array
                                                                        (
                                                                            [id] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => id
                                                                                    [rawName] => `id`
                                                                                    [allowNull] => 
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 1
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 1
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [date] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => date
                                                                                    [rawName] => `date`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => datetime
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 
                                                                                    [precision] => 
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [event_id] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => event_id
                                                                                    [rawName] => `event_id`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 1
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [type_of_ticket] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => type_of_ticket
                                                                                    [rawName] => `type_of_ticket`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => varchar(255)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 255
                                                                                    [precision] => 255
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [description_of_ticket] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => description_of_ticket
                                                                                    [rawName] => `description_of_ticket`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => varchar(255)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 255
                                                                                    [precision] => 255
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [ticket_code] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => ticket_code
                                                                                    [rawName] => `ticket_code`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => varchar(255)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 255
                                                                                    [precision] => 255
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [quantity] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => quantity
                                                                                    [rawName] => `quantity`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [price] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => price
                                                                                    [rawName] => `price`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => decimal(10,0)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 10
                                                                                    [precision] => 10
                                                                                    [scale] => 0
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [ticket_code_org] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => ticket_code_org
                                                                                    [rawName] => `ticket_code_org`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => varchar(255)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 255
                                                                                    [precision] => 255
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [seat_map] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => seat_map
                                                                                    [rawName] => `seat_map`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => tinyint(1)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 0
                                                                                    [size] => 1
                                                                                    [precision] => 1
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [pic_seat_map] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => pic_seat_map
                                                                                    [rawName] => `pic_seat_map`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => varchar(255)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 255
                                                                                    [precision] => 255
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [ranking] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => ranking
                                                                                    [rawName] => `ranking`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [remain_quantity] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => remain_quantity
                                                                                    [rawName] => `remain_quantity`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [created_by] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => created_by
                                                                                    [rawName] => `created_by`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [updated_date] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => updated_date
                                                                                    [rawName] => `updated_date`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => datetime
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 
                                                                                    [precision] => 
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [updated_by] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => updated_by
                                                                                    [rawName] => `updated_by`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                        )

                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                        )

                                                    [_connection:CDbSchema:private] => CDbConnection Object
                                                        (
                                                            [connectionString] => mysql:host=localhost;dbname=booking
                                                            [username] => root
                                                            [password] => 
                                                            [schemaCachingDuration] => 0
                                                            [schemaCachingExclude] => Array
                                                                (
                                                                )

                                                            [schemaCacheID] => cache
                                                            [queryCachingDuration] => 0
                                                            [queryCachingDependency] => 
                                                            [queryCachingCount] => 0
                                                            [queryCacheID] => cache
                                                            [autoConnect] => 1
                                                            [charset] => utf8
                                                            [emulatePrepare] => 1
                                                            [enableParamLogging] => 
                                                            [enableProfiling] => 
                                                            [tablePrefix] => 
                                                            [initSQLs] => 
                                                            [driverMap] => Array
                                                                (
                                                                    [pgsql] => CPgsqlSchema
                                                                    [mysqli] => CMysqlSchema
                                                                    [mysql] => CMysqlSchema
                                                                    [sqlite] => CSqliteSchema
                                                                    [sqlite2] => CSqliteSchema
                                                                    [mssql] => CMssqlSchema
                                                                    [dblib] => CMssqlSchema
                                                                    [sqlsrv] => CMssqlSchema
                                                                    [oci] => COciSchema
                                                                )

                                                            [pdoClass] => PDO
                                                            [_attributes:CDbConnection:private] => Array
                                                                (
                                                                )

                                                            [_active:CDbConnection:private] => 1
                                                            [_pdo:CDbConnection:private] => PDO Object
                                                                (
                                                                )

                                                            [_transaction:CDbConnection:private] => 
                                                            [_schema:CDbConnection:private] => CMysqlSchema Object
 *RECURSION*
                                                            [behaviors] => Array
                                                                (
                                                                )

                                                            [_initialized:CApplicationComponent:private] => 1
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [_builder:CDbSchema:private] => CMysqlCommandBuilder Object
 *RECURSION*
                                                    [_cacheExclude:CDbSchema:private] => Array
                                                        (
                                                        )

                                                    [_e:CComponent:private] => 
                                                    [_m:CComponent:private] => 
                                                )

                                            [_connection:CDbCommandBuilder:private] => CDbConnection Object
                                                (
                                                    [connectionString] => mysql:host=localhost;dbname=booking
                                                    [username] => root
                                                    [password] => 
                                                    [schemaCachingDuration] => 0
                                                    [schemaCachingExclude] => Array
                                                        (
                                                        )

                                                    [schemaCacheID] => cache
                                                    [queryCachingDuration] => 0
                                                    [queryCachingDependency] => 
                                                    [queryCachingCount] => 0
                                                    [queryCacheID] => cache
                                                    [autoConnect] => 1
                                                    [charset] => utf8
                                                    [emulatePrepare] => 1
                                                    [enableParamLogging] => 
                                                    [enableProfiling] => 
                                                    [tablePrefix] => 
                                                    [initSQLs] => 
                                                    [driverMap] => Array
                                                        (
                                                            [pgsql] => CPgsqlSchema
                                                            [mysqli] => CMysqlSchema
                                                            [mysql] => CMysqlSchema
                                                            [sqlite] => CSqliteSchema
                                                            [sqlite2] => CSqliteSchema
                                                            [mssql] => CMssqlSchema
                                                            [dblib] => CMssqlSchema
                                                            [sqlsrv] => CMssqlSchema
                                                            [oci] => COciSchema
                                                        )

                                                    [pdoClass] => PDO
                                                    [_attributes:CDbConnection:private] => Array
                                                        (
                                                        )

                                                    [_active:CDbConnection:private] => 1
                                                    [_pdo:CDbConnection:private] => PDO Object
                                                        (
                                                        )

                                                    [_transaction:CDbConnection:private] => 
                                                    [_schema:CDbConnection:private] => CMysqlSchema Object
                                                        (
                                                            [columnTypes] => Array
                                                                (
                                                                    [pk] => int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY
                                                                    [string] => varchar(255)
                                                                    [text] => text
                                                                    [integer] => int(11)
                                                                    [float] => float
                                                                    [decimal] => decimal
                                                                    [datetime] => datetime
                                                                    [timestamp] => timestamp
                                                                    [time] => time
                                                                    [date] => date
                                                                    [binary] => blob
                                                                    [boolean] => tinyint(1)
                                                                    [money] => decimal(19,4)
                                                                )

                                                            [_tableNames:CDbSchema:private] => Array
                                                                (
                                                                )

                                                            [_tables:CDbSchema:private] => Array
                                                                (
                                                                    [tickets] => CMysqlTableSchema Object
                                                                        (
                                                                            [schemaName] => 
                                                                            [name] => tickets
                                                                            [rawName] => `tickets`
                                                                            [primaryKey] => id
                                                                            [sequenceName] => 
                                                                            [foreignKeys] => Array
                                                                                (
                                                                                    [event_id] => Array
                                                                                        (
                                                                                            [0] => events
                                                                                            [1] => id
                                                                                        )

                                                                                )

                                                                            [columns] => Array
                                                                                (
                                                                                    [id] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => id
                                                                                            [rawName] => `id`
                                                                                            [allowNull] => 
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 1
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 1
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [date] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => date
                                                                                            [rawName] => `date`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => datetime
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 
                                                                                            [precision] => 
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [event_id] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => event_id
                                                                                            [rawName] => `event_id`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 1
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [type_of_ticket] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => type_of_ticket
                                                                                            [rawName] => `type_of_ticket`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [description_of_ticket] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => description_of_ticket
                                                                                            [rawName] => `description_of_ticket`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ticket_code] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ticket_code
                                                                                            [rawName] => `ticket_code`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [quantity] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => quantity
                                                                                            [rawName] => `quantity`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [price] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => price
                                                                                            [rawName] => `price`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => decimal(10,0)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 10
                                                                                            [precision] => 10
                                                                                            [scale] => 0
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ticket_code_org] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ticket_code_org
                                                                                            [rawName] => `ticket_code_org`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [seat_map] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => seat_map
                                                                                            [rawName] => `seat_map`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => tinyint(1)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 0
                                                                                            [size] => 1
                                                                                            [precision] => 1
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [pic_seat_map] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => pic_seat_map
                                                                                            [rawName] => `pic_seat_map`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ranking] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ranking
                                                                                            [rawName] => `ranking`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [remain_quantity] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => remain_quantity
                                                                                            [rawName] => `remain_quantity`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [created_by] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => created_by
                                                                                            [rawName] => `created_by`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [updated_date] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => updated_date
                                                                                            [rawName] => `updated_date`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => datetime
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 
                                                                                            [precision] => 
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [updated_by] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => updated_by
                                                                                            [rawName] => `updated_by`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                )

                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                )

                                                            [_connection:CDbSchema:private] => CDbConnection Object
 *RECURSION*
                                                            [_builder:CDbSchema:private] => CMysqlCommandBuilder Object
 *RECURSION*
                                                            [_cacheExclude:CDbSchema:private] => Array
                                                                (
                                                                )

                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [behaviors] => Array
                                                        (
                                                        )

                                                    [_initialized:CApplicationComponent:private] => 1
                                                    [_e:CComponent:private] => 
                                                    [_m:CComponent:private] => 
                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_parent:CJoinElement:private] => 
                                    [_pkAlias:CJoinElement:private] => t0_c0
                                    [_columnAliases:CJoinElement:private] => Array
                                        (
                                            [id] => t0_c0
                                            [date] => t0_c1
                                            [event_id] => t0_c2
                                            [type_of_ticket] => t0_c3
                                            [description_of_ticket] => t0_c4
                                            [ticket_code] => t0_c5
                                            [quantity] => t0_c6
                                            [price] => t0_c7
                                            [ticket_code_org] => t0_c8
                                            [seat_map] => t0_c9
                                            [pic_seat_map] => t0_c10
                                            [ranking] => t0_c11
                                            [remain_quantity] => t0_c12
                                            [created_by] => t0_c13
                                            [updated_date] => t0_c14
                                            [updated_by] => t0_c15
                                        )

                                    [_joined:CJoinElement:private] => 
                                    [_table:CJoinElement:private] => CMysqlTableSchema Object
                                        (
                                            [schemaName] => 
                                            [name] => tickets
                                            [rawName] => `tickets`
                                            [primaryKey] => id
                                            [sequenceName] => 
                                            [foreignKeys] => Array
                                                (
                                                    [event_id] => Array
                                                        (
                                                            [0] => events
                                                            [1] => id
                                                        )

                                                )

                                            [columns] => Array
                                                (
                                                    [id] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => id
                                                            [rawName] => `id`
                                                            [allowNull] => 
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 1
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 1
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [date] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => date
                                                            [rawName] => `date`
                                                            [allowNull] => 1
                                                            [dbType] => datetime
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 
                                                            [precision] => 
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [event_id] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => event_id
                                                            [rawName] => `event_id`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 1
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [type_of_ticket] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => type_of_ticket
                                                            [rawName] => `type_of_ticket`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [description_of_ticket] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => description_of_ticket
                                                            [rawName] => `description_of_ticket`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [ticket_code] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => ticket_code
                                                            [rawName] => `ticket_code`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [quantity] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => quantity
                                                            [rawName] => `quantity`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [price] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => price
                                                            [rawName] => `price`
                                                            [allowNull] => 1
                                                            [dbType] => decimal(10,0)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 10
                                                            [precision] => 10
                                                            [scale] => 0
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [ticket_code_org] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => ticket_code_org
                                                            [rawName] => `ticket_code_org`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [seat_map] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => seat_map
                                                            [rawName] => `seat_map`
                                                            [allowNull] => 1
                                                            [dbType] => tinyint(1)
                                                            [type] => integer
                                                            [defaultValue] => 0
                                                            [size] => 1
                                                            [precision] => 1
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [pic_seat_map] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => pic_seat_map
                                                            [rawName] => `pic_seat_map`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [ranking] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => ranking
                                                            [rawName] => `ranking`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [remain_quantity] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => remain_quantity
                                                            [rawName] => `remain_quantity`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [created_by] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => created_by
                                                            [rawName] => `created_by`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [updated_date] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => updated_date
                                                            [rawName] => `updated_date`
                                                            [allowNull] => 1
                                                            [dbType] => datetime
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 
                                                            [precision] => 
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [updated_by] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => updated_by
                                                            [rawName] => `updated_by`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_related:CJoinElement:private] => Array
                                        (
                                        )

                                )

                            [1] => Array
                                (
                                    [0] => events
                                    [1] => create_user
                                    [2] => update_user
                                )

                        )

                )

            [2] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\db\ar\CActiveRecord.php
                    [line] => 1301
                    [function] => __construct
                    [class] => CActiveFinder
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Ticket Object
                                (
                                    [fileImage] => 
                                    [_md:CActiveRecord:private] => CActiveRecordMetaData Object
                                        (
                                            [tableSchema] => CMysqlTableSchema Object
                                                (
                                                    [schemaName] => 
                                                    [name] => tickets
                                                    [rawName] => `tickets`
                                                    [primaryKey] => id
                                                    [sequenceName] => 
                                                    [foreignKeys] => Array
                                                        (
                                                            [event_id] => Array
                                                                (
                                                                    [0] => events
                                                                    [1] => id
                                                                )

                                                        )

                                                    [columns] => Array
                                                        (
                                                            [id] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => id
                                                                    [rawName] => `id`
                                                                    [allowNull] => 
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 1
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 1
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [date] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => date
                                                                    [rawName] => `date`
                                                                    [allowNull] => 1
                                                                    [dbType] => datetime
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 
                                                                    [precision] => 
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [event_id] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => event_id
                                                                    [rawName] => `event_id`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 1
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [type_of_ticket] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => type_of_ticket
                                                                    [rawName] => `type_of_ticket`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [description_of_ticket] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => description_of_ticket
                                                                    [rawName] => `description_of_ticket`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [ticket_code] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => ticket_code
                                                                    [rawName] => `ticket_code`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [quantity] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => quantity
                                                                    [rawName] => `quantity`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [price] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => price
                                                                    [rawName] => `price`
                                                                    [allowNull] => 1
                                                                    [dbType] => decimal(10,0)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 10
                                                                    [precision] => 10
                                                                    [scale] => 0
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [ticket_code_org] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => ticket_code_org
                                                                    [rawName] => `ticket_code_org`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [seat_map] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => seat_map
                                                                    [rawName] => `seat_map`
                                                                    [allowNull] => 1
                                                                    [dbType] => tinyint(1)
                                                                    [type] => integer
                                                                    [defaultValue] => 0
                                                                    [size] => 1
                                                                    [precision] => 1
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [pic_seat_map] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => pic_seat_map
                                                                    [rawName] => `pic_seat_map`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [ranking] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => ranking
                                                                    [rawName] => `ranking`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [remain_quantity] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => remain_quantity
                                                                    [rawName] => `remain_quantity`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [created_by] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => created_by
                                                                    [rawName] => `created_by`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [updated_date] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => updated_date
                                                                    [rawName] => `updated_date`
                                                                    [allowNull] => 1
                                                                    [dbType] => datetime
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 
                                                                    [precision] => 
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [updated_by] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => updated_by
                                                                    [rawName] => `updated_by`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                        )

                                                    [_e:CComponent:private] => 
                                                    [_m:CComponent:private] => 
                                                )

                                            [columns] => Array
                                                (
                                                    [id] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => id
                                                            [rawName] => `id`
                                                            [allowNull] => 
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 1
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 1
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [date] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => date
                                                            [rawName] => `date`
                                                            [allowNull] => 1
                                                            [dbType] => datetime
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 
                                                            [precision] => 
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [event_id] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => event_id
                                                            [rawName] => `event_id`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 1
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [type_of_ticket] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => type_of_ticket
                                                            [rawName] => `type_of_ticket`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [description_of_ticket] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => description_of_ticket
                                                            [rawName] => `description_of_ticket`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [ticket_code] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => ticket_code
                                                            [rawName] => `ticket_code`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [quantity] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => quantity
                                                            [rawName] => `quantity`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [price] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => price
                                                            [rawName] => `price`
                                                            [allowNull] => 1
                                                            [dbType] => decimal(10,0)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 10
                                                            [precision] => 10
                                                            [scale] => 0
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [ticket_code_org] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => ticket_code_org
                                                            [rawName] => `ticket_code_org`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [seat_map] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => seat_map
                                                            [rawName] => `seat_map`
                                                            [allowNull] => 1
                                                            [dbType] => tinyint(1)
                                                            [type] => integer
                                                            [defaultValue] => 0
                                                            [size] => 1
                                                            [precision] => 1
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [pic_seat_map] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => pic_seat_map
                                                            [rawName] => `pic_seat_map`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [ranking] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => ranking
                                                            [rawName] => `ranking`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [remain_quantity] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => remain_quantity
                                                            [rawName] => `remain_quantity`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [created_by] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => created_by
                                                            [rawName] => `created_by`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [updated_date] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => updated_date
                                                            [rawName] => `updated_date`
                                                            [allowNull] => 1
                                                            [dbType] => datetime
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 
                                                            [precision] => 
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [updated_by] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => updated_by
                                                            [rawName] => `updated_by`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                )

                                            [relations] => Array
                                                (
                                                    [booked] => CHasManyRelation Object
                                                        (
                                                            [limit] => -1
                                                            [offset] => -1
                                                            [index] => 
                                                            [through] => 
                                                            [joinType] => LEFT OUTER JOIN
                                                            [on] => 
                                                            [alias] => 
                                                            [with] => Array
                                                                (
                                                                )

                                                            [together] => 
                                                            [scopes] => 
                                                            [name] => booked
                                                            [className] => Booked
                                                            [foreignKey] => ticket_id
                                                            [select] => *
                                                            [condition] => 
                                                            [params] => Array
                                                                (
                                                                )

                                                            [group] => 
                                                            [join] => 
                                                            [having] => 
                                                            [order] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [event] => CBelongsToRelation Object
                                                        (
                                                            [joinType] => LEFT OUTER JOIN
                                                            [on] => 
                                                            [alias] => 
                                                            [with] => Array
                                                                (
                                                                )

                                                            [together] => 
                                                            [scopes] => 
                                                            [name] => event
                                                            [className] => Event
                                                            [foreignKey] => event_id
                                                            [select] => *
                                                            [condition] => 
                                                            [params] => Array
                                                                (
                                                                )

                                                            [group] => 
                                                            [join] => 
                                                            [having] => 
                                                            [order] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [update_user] => CHasOneRelation Object
                                                        (
                                                            [through] => 
                                                            [joinType] => LEFT OUTER JOIN
                                                            [on] => 
                                                            [alias] => 
                                                            [with] => Array
                                                                (
                                                                )

                                                            [together] => 
                                                            [scopes] => 
                                                            [name] => update_user
                                                            [className] => Users
                                                            [foreignKey] => updated_by
                                                            [select] => *
                                                            [condition] => 
                                                            [params] => Array
                                                                (
                                                                )

                                                            [group] => 
                                                            [join] => 
                                                            [having] => 
                                                            [order] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [create_user] => CHasOneRelation Object
                                                        (
                                                            [through] => 
                                                            [joinType] => LEFT OUTER JOIN
                                                            [on] => 
                                                            [alias] => 
                                                            [with] => Array
                                                                (
                                                                )

                                                            [together] => 
                                                            [scopes] => 
                                                            [name] => create_user
                                                            [className] => Users
                                                            [foreignKey] => created_by
                                                            [select] => *
                                                            [condition] => 
                                                            [params] => Array
                                                                (
                                                                )

                                                            [group] => 
                                                            [join] => 
                                                            [having] => 
                                                            [order] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                )

                                            [attributeDefaults] => Array
                                                (
                                                    [seat_map] => 0
                                                )

                                            [_model:CActiveRecordMetaData:private] => Ticket Object
 *RECURSION*
                                        )

                                    [_new:CActiveRecord:private] => 
                                    [_attributes:CActiveRecord:private] => Array
                                        (
                                        )

                                    [_related:CActiveRecord:private] => Array
                                        (
                                        )

                                    [_c:CActiveRecord:private] => 
                                    [_pk:CActiveRecord:private] => 
                                    [_alias:CActiveRecord:private] => t
                                    [_errors:CModel:private] => Array
                                        (
                                        )

                                    [_validators:CModel:private] => 
                                    [_scenario:CModel:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [1] => Array
                                (
                                    [0] => events
                                    [1] => create_user
                                    [2] => update_user
                                )

                        )

                )

            [3] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\db\ar\CActiveRecord.php
                    [line] => 1432
                    [function] => query
                    [class] => CActiveRecord
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CDbCriteria Object
                                (
                                    [select] => *
                                    [distinct] => 
                                    [condition] => `t`.`id`=11
                                    [params] => Array
                                        (
                                        )

                                    [limit] => -1
                                    [offset] => -1
                                    [order] => 
                                    [group] => 
                                    [join] => 
                                    [having] => 
                                    [with] => 
                                    [alias] => 
                                    [together] => 
                                    [index] => 
                                    [scopes] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                )

            [4] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers\TicketController.php
                    [line] => 239
                    [function] => findByPk
                    [class] => CActiveRecord
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 11
                        )

                )

            [5] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers\TicketController.php
                    [line] => 260
                    [function] => loadModel
                    [class] => TicketController
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 11
                        )

                )

            [6] => Array
                (
                    [function] => actionDelete
                    [class] => TicketController
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 11
                        )

                )

            [7] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\actions\CAction.php
                    [line] => 108
                    [function] => invokeArgs
                    [class] => ReflectionMethod
                    [type] => ->
                    [args] => Array
                        (
                            [0] => TicketController Object
                                (
                                    [layoutPath] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\views\layouts\main
                                    [layout] => application.modules.bookingsystem.views.layouts.main
                                    [menu] => Array
                                        (
                                        )

                                    [breadcrumbs] => Array
                                        (
                                        )

                                    [code_lang] => 4
                                    [current_url] => 
                                    [defaultAction] => index
                                    [_id:CController:private] => ticket
                                    [_action:CController:private] => CInlineAction Object
                                        (
                                            [_id:CAction:private] => delete
                                            [_controller:CAction:private] => TicketController Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_pageTitle:CController:private] => 
                                    [_cachingStack:CController:private] => 
                                    [_clips:CController:private] => 
                                    [_dynamicOutput:CController:private] => 
                                    [_pageStates:CController:private] => 
                                    [_module:CController:private] => BookingsystemModule Object
                                        (
                                            [defaultController] => default
                                            [layout] => 
                                            [controllerNamespace] => 
                                            [controllerMap] => Array
                                                (
                                                )

                                            [_controllerPath:CWebModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers
                                            [_viewPath:CWebModule:private] => 
                                            [_layoutPath:CWebModule:private] => 
                                            [preload] => Array
                                                (
                                                )

                                            [behaviors] => Array
                                                (
                                                )

                                            [_id:CModule:private] => bookingsystem
                                            [_parentModule:CModule:private] => 
                                            [_basePath:CModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem
                                            [_modulePath:CModule:private] => 
                                            [_params:CModule:private] => 
                                            [_modules:CModule:private] => Array
                                                (
                                                )

                                            [_moduleConfig:CModule:private] => Array
                                                (
                                                )

                                            [_components:CModule:private] => Array
                                                (
                                                )

                                            [_componentConfig:CModule:private] => Array
                                                (
                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_widgetStack:CBaseController:private] => Array
                                        (
                                        )

                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [1] => Array
                                (
                                    [0] => 11
                                )

                        )

                )

            [8] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\actions\CInlineAction.php
                    [line] => 47
                    [function] => runWithParamsInternal
                    [class] => CAction
                    [type] => ->
                    [args] => Array
                        (
                            [0] => TicketController Object
                                (
                                    [layoutPath] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\views\layouts\main
                                    [layout] => application.modules.bookingsystem.views.layouts.main
                                    [menu] => Array
                                        (
                                        )

                                    [breadcrumbs] => Array
                                        (
                                        )

                                    [code_lang] => 4
                                    [current_url] => 
                                    [defaultAction] => index
                                    [_id:CController:private] => ticket
                                    [_action:CController:private] => CInlineAction Object
                                        (
                                            [_id:CAction:private] => delete
                                            [_controller:CAction:private] => TicketController Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_pageTitle:CController:private] => 
                                    [_cachingStack:CController:private] => 
                                    [_clips:CController:private] => 
                                    [_dynamicOutput:CController:private] => 
                                    [_pageStates:CController:private] => 
                                    [_module:CController:private] => BookingsystemModule Object
                                        (
                                            [defaultController] => default
                                            [layout] => 
                                            [controllerNamespace] => 
                                            [controllerMap] => Array
                                                (
                                                )

                                            [_controllerPath:CWebModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers
                                            [_viewPath:CWebModule:private] => 
                                            [_layoutPath:CWebModule:private] => 
                                            [preload] => Array
                                                (
                                                )

                                            [behaviors] => Array
                                                (
                                                )

                                            [_id:CModule:private] => bookingsystem
                                            [_parentModule:CModule:private] => 
                                            [_basePath:CModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem
                                            [_modulePath:CModule:private] => 
                                            [_params:CModule:private] => 
                                            [_modules:CModule:private] => Array
                                                (
                                                )

                                            [_moduleConfig:CModule:private] => Array
                                                (
                                                )

                                            [_components:CModule:private] => Array
                                                (
                                                )

                                            [_componentConfig:CModule:private] => Array
                                                (
                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_widgetStack:CBaseController:private] => Array
                                        (
                                        )

                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [1] => ReflectionMethod Object
                                (
                                    [name] => actionDelete
                                    [class] => TicketController
                                )

                            [2] => Array
                                (
                                    [id] => 11
                                )

                        )

                )

            [9] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\CController.php
                    [line] => 308
                    [function] => runWithParams
                    [class] => CInlineAction
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [id] => 11
                                )

                        )

                )

            [10] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\CController.php
                    [line] => 286
                    [function] => runAction
                    [class] => CController
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CInlineAction Object
                                (
                                    [_id:CAction:private] => delete
                                    [_controller:CAction:private] => TicketController Object
                                        (
                                            [layoutPath] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\views\layouts\main
                                            [layout] => application.modules.bookingsystem.views.layouts.main
                                            [menu] => Array
                                                (
                                                )

                                            [breadcrumbs] => Array
                                                (
                                                )

                                            [code_lang] => 4
                                            [current_url] => 
                                            [defaultAction] => index
                                            [_id:CController:private] => ticket
                                            [_action:CController:private] => CInlineAction Object
 *RECURSION*
                                            [_pageTitle:CController:private] => 
                                            [_cachingStack:CController:private] => 
                                            [_clips:CController:private] => 
                                            [_dynamicOutput:CController:private] => 
                                            [_pageStates:CController:private] => 
                                            [_module:CController:private] => BookingsystemModule Object
                                                (
                                                    [defaultController] => default
                                                    [layout] => 
                                                    [controllerNamespace] => 
                                                    [controllerMap] => Array
                                                        (
                                                        )

                                                    [_controllerPath:CWebModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers
                                                    [_viewPath:CWebModule:private] => 
                                                    [_layoutPath:CWebModule:private] => 
                                                    [preload] => Array
                                                        (
                                                        )

                                                    [behaviors] => Array
                                                        (
                                                        )

                                                    [_id:CModule:private] => bookingsystem
                                                    [_parentModule:CModule:private] => 
                                                    [_basePath:CModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem
                                                    [_modulePath:CModule:private] => 
                                                    [_params:CModule:private] => 
                                                    [_modules:CModule:private] => Array
                                                        (
                                                        )

                                                    [_moduleConfig:CModule:private] => Array
                                                        (
                                                        )

                                                    [_components:CModule:private] => Array
                                                        (
                                                        )

                                                    [_componentConfig:CModule:private] => Array
                                                        (
                                                        )

                                                    [_e:CComponent:private] => 
                                                    [_m:CComponent:private] => 
                                                )

                                            [_widgetStack:CBaseController:private] => Array
                                                (
                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                )

            [11] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\CController.php
                    [line] => 265
                    [function] => runActionWithFilters
                    [class] => CController
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CInlineAction Object
                                (
                                    [_id:CAction:private] => delete
                                    [_controller:CAction:private] => TicketController Object
                                        (
                                            [layoutPath] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\views\layouts\main
                                            [layout] => application.modules.bookingsystem.views.layouts.main
                                            [menu] => Array
                                                (
                                                )

                                            [breadcrumbs] => Array
                                                (
                                                )

                                            [code_lang] => 4
                                            [current_url] => 
                                            [defaultAction] => index
                                            [_id:CController:private] => ticket
                                            [_action:CController:private] => CInlineAction Object
 *RECURSION*
                                            [_pageTitle:CController:private] => 
                                            [_cachingStack:CController:private] => 
                                            [_clips:CController:private] => 
                                            [_dynamicOutput:CController:private] => 
                                            [_pageStates:CController:private] => 
                                            [_module:CController:private] => BookingsystemModule Object
                                                (
                                                    [defaultController] => default
                                                    [layout] => 
                                                    [controllerNamespace] => 
                                                    [controllerMap] => Array
                                                        (
                                                        )

                                                    [_controllerPath:CWebModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers
                                                    [_viewPath:CWebModule:private] => 
                                                    [_layoutPath:CWebModule:private] => 
                                                    [preload] => Array
                                                        (
                                                        )

                                                    [behaviors] => Array
                                                        (
                                                        )

                                                    [_id:CModule:private] => bookingsystem
                                                    [_parentModule:CModule:private] => 
                                                    [_basePath:CModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem
                                                    [_modulePath:CModule:private] => 
                                                    [_params:CModule:private] => 
                                                    [_modules:CModule:private] => Array
                                                        (
                                                        )

                                                    [_moduleConfig:CModule:private] => Array
                                                        (
                                                        )

                                                    [_components:CModule:private] => Array
                                                        (
                                                        )

                                                    [_componentConfig:CModule:private] => Array
                                                        (
                                                        )

                                                    [_e:CComponent:private] => 
                                                    [_m:CComponent:private] => 
                                                )

                                            [_widgetStack:CBaseController:private] => Array
                                                (
                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [1] => Array
                                (
                                )

                        )

                )

            [12] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\CWebApplication.php
                    [line] => 282
                    [function] => run
                    [class] => CController
                    [type] => ->
                    [args] => Array
                        (
                            [0] => delete
                        )

                )

            [13] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\CWebApplication.php
                    [line] => 141
                    [function] => runController
                    [class] => CWebApplication
                    [type] => ->
                    [args] => Array
                        (
                            [0] => bookingsystem/ticket/delete/id/11
                        )

                )

            [14] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\base\CApplication.php
                    [line] => 169
                    [function] => processRequest
                    [class] => CWebApplication
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [15] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\index.php
                    [line] => 17
                    [function] => run
                    [class] => CApplication
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

        )

    [previous:Exception:private] => 
)

in E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers\TicketController.php (246)
in E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers\TicketController.php (260)
in E:\Company\Project\UpbeatBooking\Source\bookingupbeat\index.php (17)
2014/02/27 16:06:42 [error] [application] Exception CHttpException Object
(
    [statusCode] => Exception CDbException Object
(
    [errorInfo] => 
    [message:protected] => Quan hệ "events" chưa được định nghĩa trong lớp active record "Ticket".
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\db\ar\CActiveFinder.php
    [line:protected] => 211
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\db\ar\CActiveFinder.php
                    [line] => 281
                    [function] => buildJoinTree
                    [class] => CActiveFinder
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CJoinElement Object
                                (
                                    [id] => 0
                                    [relation] => 
                                    [master] => 
                                    [slave] => 
                                    [model] => Ticket Object
                                        (
                                            [fileImage] => 
                                            [_md:CActiveRecord:private] => CActiveRecordMetaData Object
                                                (
                                                    [tableSchema] => CMysqlTableSchema Object
                                                        (
                                                            [schemaName] => 
                                                            [name] => tickets
                                                            [rawName] => `tickets`
                                                            [primaryKey] => id
                                                            [sequenceName] => 
                                                            [foreignKeys] => Array
                                                                (
                                                                    [event_id] => Array
                                                                        (
                                                                            [0] => events
                                                                            [1] => id
                                                                        )

                                                                )

                                                            [columns] => Array
                                                                (
                                                                    [id] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => id
                                                                            [rawName] => `id`
                                                                            [allowNull] => 
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 1
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 1
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [date] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => date
                                                                            [rawName] => `date`
                                                                            [allowNull] => 1
                                                                            [dbType] => datetime
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 
                                                                            [precision] => 
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [event_id] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => event_id
                                                                            [rawName] => `event_id`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 1
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [type_of_ticket] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => type_of_ticket
                                                                            [rawName] => `type_of_ticket`
                                                                            [allowNull] => 1
                                                                            [dbType] => varchar(255)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 255
                                                                            [precision] => 255
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [description_of_ticket] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => description_of_ticket
                                                                            [rawName] => `description_of_ticket`
                                                                            [allowNull] => 1
                                                                            [dbType] => varchar(255)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 255
                                                                            [precision] => 255
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [ticket_code] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => ticket_code
                                                                            [rawName] => `ticket_code`
                                                                            [allowNull] => 1
                                                                            [dbType] => varchar(255)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 255
                                                                            [precision] => 255
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [quantity] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => quantity
                                                                            [rawName] => `quantity`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [price] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => price
                                                                            [rawName] => `price`
                                                                            [allowNull] => 1
                                                                            [dbType] => decimal(10,0)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 10
                                                                            [precision] => 10
                                                                            [scale] => 0
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [ticket_code_org] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => ticket_code_org
                                                                            [rawName] => `ticket_code_org`
                                                                            [allowNull] => 1
                                                                            [dbType] => varchar(255)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 255
                                                                            [precision] => 255
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [seat_map] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => seat_map
                                                                            [rawName] => `seat_map`
                                                                            [allowNull] => 1
                                                                            [dbType] => tinyint(1)
                                                                            [type] => integer
                                                                            [defaultValue] => 0
                                                                            [size] => 1
                                                                            [precision] => 1
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [pic_seat_map] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => pic_seat_map
                                                                            [rawName] => `pic_seat_map`
                                                                            [allowNull] => 1
                                                                            [dbType] => varchar(255)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 255
                                                                            [precision] => 255
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [ranking] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => ranking
                                                                            [rawName] => `ranking`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [remain_quantity] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => remain_quantity
                                                                            [rawName] => `remain_quantity`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [created_by] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => created_by
                                                                            [rawName] => `created_by`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [updated_date] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => updated_date
                                                                            [rawName] => `updated_date`
                                                                            [allowNull] => 1
                                                                            [dbType] => datetime
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 
                                                                            [precision] => 
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [updated_by] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => updated_by
                                                                            [rawName] => `updated_by`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                )

                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [columns] => Array
                                                        (
                                                            [id] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => id
                                                                    [rawName] => `id`
                                                                    [allowNull] => 
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 1
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 1
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [date] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => date
                                                                    [rawName] => `date`
                                                                    [allowNull] => 1
                                                                    [dbType] => datetime
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 
                                                                    [precision] => 
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [event_id] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => event_id
                                                                    [rawName] => `event_id`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 1
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [type_of_ticket] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => type_of_ticket
                                                                    [rawName] => `type_of_ticket`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [description_of_ticket] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => description_of_ticket
                                                                    [rawName] => `description_of_ticket`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [ticket_code] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => ticket_code
                                                                    [rawName] => `ticket_code`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [quantity] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => quantity
                                                                    [rawName] => `quantity`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [price] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => price
                                                                    [rawName] => `price`
                                                                    [allowNull] => 1
                                                                    [dbType] => decimal(10,0)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 10
                                                                    [precision] => 10
                                                                    [scale] => 0
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [ticket_code_org] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => ticket_code_org
                                                                    [rawName] => `ticket_code_org`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [seat_map] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => seat_map
                                                                    [rawName] => `seat_map`
                                                                    [allowNull] => 1
                                                                    [dbType] => tinyint(1)
                                                                    [type] => integer
                                                                    [defaultValue] => 0
                                                                    [size] => 1
                                                                    [precision] => 1
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [pic_seat_map] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => pic_seat_map
                                                                    [rawName] => `pic_seat_map`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [ranking] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => ranking
                                                                    [rawName] => `ranking`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [remain_quantity] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => remain_quantity
                                                                    [rawName] => `remain_quantity`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [created_by] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => created_by
                                                                    [rawName] => `created_by`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [updated_date] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => updated_date
                                                                    [rawName] => `updated_date`
                                                                    [allowNull] => 1
                                                                    [dbType] => datetime
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 
                                                                    [precision] => 
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [updated_by] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => updated_by
                                                                    [rawName] => `updated_by`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                        )

                                                    [relations] => Array
                                                        (
                                                            [booked] => CHasManyRelation Object
                                                                (
                                                                    [limit] => -1
                                                                    [offset] => -1
                                                                    [index] => 
                                                                    [through] => 
                                                                    [joinType] => LEFT OUTER JOIN
                                                                    [on] => 
                                                                    [alias] => 
                                                                    [with] => Array
                                                                        (
                                                                        )

                                                                    [together] => 
                                                                    [scopes] => 
                                                                    [name] => booked
                                                                    [className] => Booked
                                                                    [foreignKey] => ticket_id
                                                                    [select] => *
                                                                    [condition] => 
                                                                    [params] => Array
                                                                        (
                                                                        )

                                                                    [group] => 
                                                                    [join] => 
                                                                    [having] => 
                                                                    [order] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [event] => CBelongsToRelation Object
                                                                (
                                                                    [joinType] => LEFT OUTER JOIN
                                                                    [on] => 
                                                                    [alias] => 
                                                                    [with] => Array
                                                                        (
                                                                        )

                                                                    [together] => 
                                                                    [scopes] => 
                                                                    [name] => event
                                                                    [className] => Event
                                                                    [foreignKey] => event_id
                                                                    [select] => *
                                                                    [condition] => 
                                                                    [params] => Array
                                                                        (
                                                                        )

                                                                    [group] => 
                                                                    [join] => 
                                                                    [having] => 
                                                                    [order] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [update_user] => CHasOneRelation Object
                                                                (
                                                                    [through] => 
                                                                    [joinType] => LEFT OUTER JOIN
                                                                    [on] => 
                                                                    [alias] => 
                                                                    [with] => Array
                                                                        (
                                                                        )

                                                                    [together] => 
                                                                    [scopes] => 
                                                                    [name] => update_user
                                                                    [className] => Users
                                                                    [foreignKey] => updated_by
                                                                    [select] => *
                                                                    [condition] => 
                                                                    [params] => Array
                                                                        (
                                                                        )

                                                                    [group] => 
                                                                    [join] => 
                                                                    [having] => 
                                                                    [order] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [create_user] => CHasOneRelation Object
                                                                (
                                                                    [through] => 
                                                                    [joinType] => LEFT OUTER JOIN
                                                                    [on] => 
                                                                    [alias] => 
                                                                    [with] => Array
                                                                        (
                                                                        )

                                                                    [together] => 
                                                                    [scopes] => 
                                                                    [name] => create_user
                                                                    [className] => Users
                                                                    [foreignKey] => created_by
                                                                    [select] => *
                                                                    [condition] => 
                                                                    [params] => Array
                                                                        (
                                                                        )

                                                                    [group] => 
                                                                    [join] => 
                                                                    [having] => 
                                                                    [order] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                        )

                                                    [attributeDefaults] => Array
                                                        (
                                                            [seat_map] => 0
                                                        )

                                                    [_model:CActiveRecordMetaData:private] => Ticket Object
 *RECURSION*
                                                )

                                            [_new:CActiveRecord:private] => 
                                            [_attributes:CActiveRecord:private] => Array
                                                (
                                                )

                                            [_related:CActiveRecord:private] => Array
                                                (
                                                )

                                            [_c:CActiveRecord:private] => 
                                            [_pk:CActiveRecord:private] => 
                                            [_alias:CActiveRecord:private] => t
                                            [_errors:CModel:private] => Array
                                                (
                                                )

                                            [_validators:CModel:private] => 
                                            [_scenario:CModel:private] => 
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [records] => Array
                                        (
                                        )

                                    [children] => Array
                                        (
                                        )

                                    [stats] => Array
                                        (
                                        )

                                    [tableAlias] => t
                                    [rawTableAlias] => `t`
                                    [_finder:CJoinElement:private] => CActiveFinder Object
                                        (
                                            [joinAll] => 
                                            [baseLimited] => 
                                            [_joinCount:CActiveFinder:private] => 0
                                            [_joinTree:CActiveFinder:private] => CJoinElement Object
 *RECURSION*
                                            [_builder:CActiveFinder:private] => CMysqlCommandBuilder Object
                                                (
                                                    [_schema:CDbCommandBuilder:private] => CMysqlSchema Object
                                                        (
                                                            [columnTypes] => Array
                                                                (
                                                                    [pk] => int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY
                                                                    [string] => varchar(255)
                                                                    [text] => text
                                                                    [integer] => int(11)
                                                                    [float] => float
                                                                    [decimal] => decimal
                                                                    [datetime] => datetime
                                                                    [timestamp] => timestamp
                                                                    [time] => time
                                                                    [date] => date
                                                                    [binary] => blob
                                                                    [boolean] => tinyint(1)
                                                                    [money] => decimal(19,4)
                                                                )

                                                            [_tableNames:CDbSchema:private] => Array
                                                                (
                                                                )

                                                            [_tables:CDbSchema:private] => Array
                                                                (
                                                                    [tickets] => CMysqlTableSchema Object
                                                                        (
                                                                            [schemaName] => 
                                                                            [name] => tickets
                                                                            [rawName] => `tickets`
                                                                            [primaryKey] => id
                                                                            [sequenceName] => 
                                                                            [foreignKeys] => Array
                                                                                (
                                                                                    [event_id] => Array
                                                                                        (
                                                                                            [0] => events
                                                                                            [1] => id
                                                                                        )

                                                                                )

                                                                            [columns] => Array
                                                                                (
                                                                                    [id] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => id
                                                                                            [rawName] => `id`
                                                                                            [allowNull] => 
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 1
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 1
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [date] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => date
                                                                                            [rawName] => `date`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => datetime
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 
                                                                                            [precision] => 
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [event_id] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => event_id
                                                                                            [rawName] => `event_id`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 1
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [type_of_ticket] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => type_of_ticket
                                                                                            [rawName] => `type_of_ticket`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [description_of_ticket] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => description_of_ticket
                                                                                            [rawName] => `description_of_ticket`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ticket_code] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ticket_code
                                                                                            [rawName] => `ticket_code`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [quantity] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => quantity
                                                                                            [rawName] => `quantity`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [price] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => price
                                                                                            [rawName] => `price`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => decimal(10,0)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 10
                                                                                            [precision] => 10
                                                                                            [scale] => 0
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ticket_code_org] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ticket_code_org
                                                                                            [rawName] => `ticket_code_org`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [seat_map] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => seat_map
                                                                                            [rawName] => `seat_map`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => tinyint(1)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 0
                                                                                            [size] => 1
                                                                                            [precision] => 1
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [pic_seat_map] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => pic_seat_map
                                                                                            [rawName] => `pic_seat_map`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ranking] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ranking
                                                                                            [rawName] => `ranking`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [remain_quantity] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => remain_quantity
                                                                                            [rawName] => `remain_quantity`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [created_by] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => created_by
                                                                                            [rawName] => `created_by`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [updated_date] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => updated_date
                                                                                            [rawName] => `updated_date`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => datetime
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 
                                                                                            [precision] => 
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [updated_by] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => updated_by
                                                                                            [rawName] => `updated_by`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                )

                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                )

                                                            [_connection:CDbSchema:private] => CDbConnection Object
                                                                (
                                                                    [connectionString] => mysql:host=localhost;dbname=booking
                                                                    [username] => root
                                                                    [password] => 
                                                                    [schemaCachingDuration] => 0
                                                                    [schemaCachingExclude] => Array
                                                                        (
                                                                        )

                                                                    [schemaCacheID] => cache
                                                                    [queryCachingDuration] => 0
                                                                    [queryCachingDependency] => 
                                                                    [queryCachingCount] => 0
                                                                    [queryCacheID] => cache
                                                                    [autoConnect] => 1
                                                                    [charset] => utf8
                                                                    [emulatePrepare] => 1
                                                                    [enableParamLogging] => 
                                                                    [enableProfiling] => 
                                                                    [tablePrefix] => 
                                                                    [initSQLs] => 
                                                                    [driverMap] => Array
                                                                        (
                                                                            [pgsql] => CPgsqlSchema
                                                                            [mysqli] => CMysqlSchema
                                                                            [mysql] => CMysqlSchema
                                                                            [sqlite] => CSqliteSchema
                                                                            [sqlite2] => CSqliteSchema
                                                                            [mssql] => CMssqlSchema
                                                                            [dblib] => CMssqlSchema
                                                                            [sqlsrv] => CMssqlSchema
                                                                            [oci] => COciSchema
                                                                        )

                                                                    [pdoClass] => PDO
                                                                    [_attributes:CDbConnection:private] => Array
                                                                        (
                                                                        )

                                                                    [_active:CDbConnection:private] => 1
                                                                    [_pdo:CDbConnection:private] => PDO Object
                                                                        (
                                                                        )

                                                                    [_transaction:CDbConnection:private] => 
                                                                    [_schema:CDbConnection:private] => CMysqlSchema Object
 *RECURSION*
                                                                    [behaviors] => Array
                                                                        (
                                                                        )

                                                                    [_initialized:CApplicationComponent:private] => 1
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [_builder:CDbSchema:private] => CMysqlCommandBuilder Object
 *RECURSION*
                                                            [_cacheExclude:CDbSchema:private] => Array
                                                                (
                                                                )

                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [_connection:CDbCommandBuilder:private] => CDbConnection Object
                                                        (
                                                            [connectionString] => mysql:host=localhost;dbname=booking
                                                            [username] => root
                                                            [password] => 
                                                            [schemaCachingDuration] => 0
                                                            [schemaCachingExclude] => Array
                                                                (
                                                                )

                                                            [schemaCacheID] => cache
                                                            [queryCachingDuration] => 0
                                                            [queryCachingDependency] => 
                                                            [queryCachingCount] => 0
                                                            [queryCacheID] => cache
                                                            [autoConnect] => 1
                                                            [charset] => utf8
                                                            [emulatePrepare] => 1
                                                            [enableParamLogging] => 
                                                            [enableProfiling] => 
                                                            [tablePrefix] => 
                                                            [initSQLs] => 
                                                            [driverMap] => Array
                                                                (
                                                                    [pgsql] => CPgsqlSchema
                                                                    [mysqli] => CMysqlSchema
                                                                    [mysql] => CMysqlSchema
                                                                    [sqlite] => CSqliteSchema
                                                                    [sqlite2] => CSqliteSchema
                                                                    [mssql] => CMssqlSchema
                                                                    [dblib] => CMssqlSchema
                                                                    [sqlsrv] => CMssqlSchema
                                                                    [oci] => COciSchema
                                                                )

                                                            [pdoClass] => PDO
                                                            [_attributes:CDbConnection:private] => Array
                                                                (
                                                                )

                                                            [_active:CDbConnection:private] => 1
                                                            [_pdo:CDbConnection:private] => PDO Object
                                                                (
                                                                )

                                                            [_transaction:CDbConnection:private] => 
                                                            [_schema:CDbConnection:private] => CMysqlSchema Object
                                                                (
                                                                    [columnTypes] => Array
                                                                        (
                                                                            [pk] => int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY
                                                                            [string] => varchar(255)
                                                                            [text] => text
                                                                            [integer] => int(11)
                                                                            [float] => float
                                                                            [decimal] => decimal
                                                                            [datetime] => datetime
                                                                            [timestamp] => timestamp
                                                                            [time] => time
                                                                            [date] => date
                                                                            [binary] => blob
                                                                            [boolean] => tinyint(1)
                                                                            [money] => decimal(19,4)
                                                                        )

                                                                    [_tableNames:CDbSchema:private] => Array
                                                                        (
                                                                        )

                                                                    [_tables:CDbSchema:private] => Array
                                                                        (
                                                                            [tickets] => CMysqlTableSchema Object
                                                                                (
                                                                                    [schemaName] => 
                                                                                    [name] => tickets
                                                                                    [rawName] => `tickets`
                                                                                    [primaryKey] => id
                                                                                    [sequenceName] => 
                                                                                    [foreignKeys] => Array
                                                                                        (
                                                                                            [event_id] => Array
                                                                                                (
                                                                                                    [0] => events
                                                                                                    [1] => id
                                                                                                )

                                                                                        )

                                                                                    [columns] => Array
                                                                                        (
                                                                                            [id] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => id
                                                                                                    [rawName] => `id`
                                                                                                    [allowNull] => 
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 1
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 1
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [date] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => date
                                                                                                    [rawName] => `date`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => datetime
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 
                                                                                                    [precision] => 
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [event_id] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => event_id
                                                                                                    [rawName] => `event_id`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 1
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [type_of_ticket] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => type_of_ticket
                                                                                                    [rawName] => `type_of_ticket`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => varchar(255)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 255
                                                                                                    [precision] => 255
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [description_of_ticket] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => description_of_ticket
                                                                                                    [rawName] => `description_of_ticket`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => varchar(255)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 255
                                                                                                    [precision] => 255
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [ticket_code] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => ticket_code
                                                                                                    [rawName] => `ticket_code`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => varchar(255)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 255
                                                                                                    [precision] => 255
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [quantity] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => quantity
                                                                                                    [rawName] => `quantity`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [price] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => price
                                                                                                    [rawName] => `price`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => decimal(10,0)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 10
                                                                                                    [precision] => 10
                                                                                                    [scale] => 0
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [ticket_code_org] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => ticket_code_org
                                                                                                    [rawName] => `ticket_code_org`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => varchar(255)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 255
                                                                                                    [precision] => 255
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [seat_map] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => seat_map
                                                                                                    [rawName] => `seat_map`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => tinyint(1)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 0
                                                                                                    [size] => 1
                                                                                                    [precision] => 1
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [pic_seat_map] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => pic_seat_map
                                                                                                    [rawName] => `pic_seat_map`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => varchar(255)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 255
                                                                                                    [precision] => 255
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [ranking] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => ranking
                                                                                                    [rawName] => `ranking`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [remain_quantity] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => remain_quantity
                                                                                                    [rawName] => `remain_quantity`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [created_by] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => created_by
                                                                                                    [rawName] => `created_by`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [updated_date] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => updated_date
                                                                                                    [rawName] => `updated_date`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => datetime
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 
                                                                                                    [precision] => 
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [updated_by] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => updated_by
                                                                                                    [rawName] => `updated_by`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                        )

                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                        )

                                                                    [_connection:CDbSchema:private] => CDbConnection Object
 *RECURSION*
                                                                    [_builder:CDbSchema:private] => CMysqlCommandBuilder Object
 *RECURSION*
                                                                    [_cacheExclude:CDbSchema:private] => Array
                                                                        (
                                                                        )

                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [behaviors] => Array
                                                                (
                                                                )

                                                            [_initialized:CApplicationComponent:private] => 1
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [_e:CComponent:private] => 
                                                    [_m:CComponent:private] => 
                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_builder:CJoinElement:private] => CMysqlCommandBuilder Object
                                        (
                                            [_schema:CDbCommandBuilder:private] => CMysqlSchema Object
                                                (
                                                    [columnTypes] => Array
                                                        (
                                                            [pk] => int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY
                                                            [string] => varchar(255)
                                                            [text] => text
                                                            [integer] => int(11)
                                                            [float] => float
                                                            [decimal] => decimal
                                                            [datetime] => datetime
                                                            [timestamp] => timestamp
                                                            [time] => time
                                                            [date] => date
                                                            [binary] => blob
                                                            [boolean] => tinyint(1)
                                                            [money] => decimal(19,4)
                                                        )

                                                    [_tableNames:CDbSchema:private] => Array
                                                        (
                                                        )

                                                    [_tables:CDbSchema:private] => Array
                                                        (
                                                            [tickets] => CMysqlTableSchema Object
                                                                (
                                                                    [schemaName] => 
                                                                    [name] => tickets
                                                                    [rawName] => `tickets`
                                                                    [primaryKey] => id
                                                                    [sequenceName] => 
                                                                    [foreignKeys] => Array
                                                                        (
                                                                            [event_id] => Array
                                                                                (
                                                                                    [0] => events
                                                                                    [1] => id
                                                                                )

                                                                        )

                                                                    [columns] => Array
                                                                        (
                                                                            [id] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => id
                                                                                    [rawName] => `id`
                                                                                    [allowNull] => 
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 1
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 1
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [date] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => date
                                                                                    [rawName] => `date`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => datetime
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 
                                                                                    [precision] => 
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [event_id] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => event_id
                                                                                    [rawName] => `event_id`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 1
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [type_of_ticket] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => type_of_ticket
                                                                                    [rawName] => `type_of_ticket`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => varchar(255)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 255
                                                                                    [precision] => 255
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [description_of_ticket] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => description_of_ticket
                                                                                    [rawName] => `description_of_ticket`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => varchar(255)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 255
                                                                                    [precision] => 255
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [ticket_code] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => ticket_code
                                                                                    [rawName] => `ticket_code`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => varchar(255)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 255
                                                                                    [precision] => 255
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [quantity] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => quantity
                                                                                    [rawName] => `quantity`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [price] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => price
                                                                                    [rawName] => `price`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => decimal(10,0)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 10
                                                                                    [precision] => 10
                                                                                    [scale] => 0
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [ticket_code_org] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => ticket_code_org
                                                                                    [rawName] => `ticket_code_org`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => varchar(255)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 255
                                                                                    [precision] => 255
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [seat_map] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => seat_map
                                                                                    [rawName] => `seat_map`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => tinyint(1)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 0
                                                                                    [size] => 1
                                                                                    [precision] => 1
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [pic_seat_map] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => pic_seat_map
                                                                                    [rawName] => `pic_seat_map`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => varchar(255)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 255
                                                                                    [precision] => 255
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [ranking] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => ranking
                                                                                    [rawName] => `ranking`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [remain_quantity] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => remain_quantity
                                                                                    [rawName] => `remain_quantity`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [created_by] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => created_by
                                                                                    [rawName] => `created_by`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [updated_date] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => updated_date
                                                                                    [rawName] => `updated_date`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => datetime
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 
                                                                                    [precision] => 
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [updated_by] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => updated_by
                                                                                    [rawName] => `updated_by`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                        )

                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                        )

                                                    [_connection:CDbSchema:private] => CDbConnection Object
                                                        (
                                                            [connectionString] => mysql:host=localhost;dbname=booking
                                                            [username] => root
                                                            [password] => 
                                                            [schemaCachingDuration] => 0
                                                            [schemaCachingExclude] => Array
                                                                (
                                                                )

                                                            [schemaCacheID] => cache
                                                            [queryCachingDuration] => 0
                                                            [queryCachingDependency] => 
                                                            [queryCachingCount] => 0
                                                            [queryCacheID] => cache
                                                            [autoConnect] => 1
                                                            [charset] => utf8
                                                            [emulatePrepare] => 1
                                                            [enableParamLogging] => 
                                                            [enableProfiling] => 
                                                            [tablePrefix] => 
                                                            [initSQLs] => 
                                                            [driverMap] => Array
                                                                (
                                                                    [pgsql] => CPgsqlSchema
                                                                    [mysqli] => CMysqlSchema
                                                                    [mysql] => CMysqlSchema
                                                                    [sqlite] => CSqliteSchema
                                                                    [sqlite2] => CSqliteSchema
                                                                    [mssql] => CMssqlSchema
                                                                    [dblib] => CMssqlSchema
                                                                    [sqlsrv] => CMssqlSchema
                                                                    [oci] => COciSchema
                                                                )

                                                            [pdoClass] => PDO
                                                            [_attributes:CDbConnection:private] => Array
                                                                (
                                                                )

                                                            [_active:CDbConnection:private] => 1
                                                            [_pdo:CDbConnection:private] => PDO Object
                                                                (
                                                                )

                                                            [_transaction:CDbConnection:private] => 
                                                            [_schema:CDbConnection:private] => CMysqlSchema Object
 *RECURSION*
                                                            [behaviors] => Array
                                                                (
                                                                )

                                                            [_initialized:CApplicationComponent:private] => 1
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [_builder:CDbSchema:private] => CMysqlCommandBuilder Object
 *RECURSION*
                                                    [_cacheExclude:CDbSchema:private] => Array
                                                        (
                                                        )

                                                    [_e:CComponent:private] => 
                                                    [_m:CComponent:private] => 
                                                )

                                            [_connection:CDbCommandBuilder:private] => CDbConnection Object
                                                (
                                                    [connectionString] => mysql:host=localhost;dbname=booking
                                                    [username] => root
                                                    [password] => 
                                                    [schemaCachingDuration] => 0
                                                    [schemaCachingExclude] => Array
                                                        (
                                                        )

                                                    [schemaCacheID] => cache
                                                    [queryCachingDuration] => 0
                                                    [queryCachingDependency] => 
                                                    [queryCachingCount] => 0
                                                    [queryCacheID] => cache
                                                    [autoConnect] => 1
                                                    [charset] => utf8
                                                    [emulatePrepare] => 1
                                                    [enableParamLogging] => 
                                                    [enableProfiling] => 
                                                    [tablePrefix] => 
                                                    [initSQLs] => 
                                                    [driverMap] => Array
                                                        (
                                                            [pgsql] => CPgsqlSchema
                                                            [mysqli] => CMysqlSchema
                                                            [mysql] => CMysqlSchema
                                                            [sqlite] => CSqliteSchema
                                                            [sqlite2] => CSqliteSchema
                                                            [mssql] => CMssqlSchema
                                                            [dblib] => CMssqlSchema
                                                            [sqlsrv] => CMssqlSchema
                                                            [oci] => COciSchema
                                                        )

                                                    [pdoClass] => PDO
                                                    [_attributes:CDbConnection:private] => Array
                                                        (
                                                        )

                                                    [_active:CDbConnection:private] => 1
                                                    [_pdo:CDbConnection:private] => PDO Object
                                                        (
                                                        )

                                                    [_transaction:CDbConnection:private] => 
                                                    [_schema:CDbConnection:private] => CMysqlSchema Object
                                                        (
                                                            [columnTypes] => Array
                                                                (
                                                                    [pk] => int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY
                                                                    [string] => varchar(255)
                                                                    [text] => text
                                                                    [integer] => int(11)
                                                                    [float] => float
                                                                    [decimal] => decimal
                                                                    [datetime] => datetime
                                                                    [timestamp] => timestamp
                                                                    [time] => time
                                                                    [date] => date
                                                                    [binary] => blob
                                                                    [boolean] => tinyint(1)
                                                                    [money] => decimal(19,4)
                                                                )

                                                            [_tableNames:CDbSchema:private] => Array
                                                                (
                                                                )

                                                            [_tables:CDbSchema:private] => Array
                                                                (
                                                                    [tickets] => CMysqlTableSchema Object
                                                                        (
                                                                            [schemaName] => 
                                                                            [name] => tickets
                                                                            [rawName] => `tickets`
                                                                            [primaryKey] => id
                                                                            [sequenceName] => 
                                                                            [foreignKeys] => Array
                                                                                (
                                                                                    [event_id] => Array
                                                                                        (
                                                                                            [0] => events
                                                                                            [1] => id
                                                                                        )

                                                                                )

                                                                            [columns] => Array
                                                                                (
                                                                                    [id] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => id
                                                                                            [rawName] => `id`
                                                                                            [allowNull] => 
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 1
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 1
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [date] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => date
                                                                                            [rawName] => `date`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => datetime
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 
                                                                                            [precision] => 
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [event_id] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => event_id
                                                                                            [rawName] => `event_id`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 1
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [type_of_ticket] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => type_of_ticket
                                                                                            [rawName] => `type_of_ticket`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [description_of_ticket] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => description_of_ticket
                                                                                            [rawName] => `description_of_ticket`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ticket_code] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ticket_code
                                                                                            [rawName] => `ticket_code`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [quantity] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => quantity
                                                                                            [rawName] => `quantity`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [price] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => price
                                                                                            [rawName] => `price`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => decimal(10,0)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 10
                                                                                            [precision] => 10
                                                                                            [scale] => 0
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ticket_code_org] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ticket_code_org
                                                                                            [rawName] => `ticket_code_org`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [seat_map] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => seat_map
                                                                                            [rawName] => `seat_map`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => tinyint(1)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 0
                                                                                            [size] => 1
                                                                                            [precision] => 1
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [pic_seat_map] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => pic_seat_map
                                                                                            [rawName] => `pic_seat_map`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ranking] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ranking
                                                                                            [rawName] => `ranking`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [remain_quantity] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => remain_quantity
                                                                                            [rawName] => `remain_quantity`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [created_by] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => created_by
                                                                                            [rawName] => `created_by`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [updated_date] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => updated_date
                                                                                            [rawName] => `updated_date`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => datetime
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 
                                                                                            [precision] => 
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [updated_by] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => updated_by
                                                                                            [rawName] => `updated_by`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                )

                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                )

                                                            [_connection:CDbSchema:private] => CDbConnection Object
 *RECURSION*
                                                            [_builder:CDbSchema:private] => CMysqlCommandBuilder Object
 *RECURSION*
                                                            [_cacheExclude:CDbSchema:private] => Array
                                                                (
                                                                )

                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [behaviors] => Array
                                                        (
                                                        )

                                                    [_initialized:CApplicationComponent:private] => 1
                                                    [_e:CComponent:private] => 
                                                    [_m:CComponent:private] => 
                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_parent:CJoinElement:private] => 
                                    [_pkAlias:CJoinElement:private] => t0_c0
                                    [_columnAliases:CJoinElement:private] => Array
                                        (
                                            [id] => t0_c0
                                            [date] => t0_c1
                                            [event_id] => t0_c2
                                            [type_of_ticket] => t0_c3
                                            [description_of_ticket] => t0_c4
                                            [ticket_code] => t0_c5
                                            [quantity] => t0_c6
                                            [price] => t0_c7
                                            [ticket_code_org] => t0_c8
                                            [seat_map] => t0_c9
                                            [pic_seat_map] => t0_c10
                                            [ranking] => t0_c11
                                            [remain_quantity] => t0_c12
                                            [created_by] => t0_c13
                                            [updated_date] => t0_c14
                                            [updated_by] => t0_c15
                                        )

                                    [_joined:CJoinElement:private] => 
                                    [_table:CJoinElement:private] => CMysqlTableSchema Object
                                        (
                                            [schemaName] => 
                                            [name] => tickets
                                            [rawName] => `tickets`
                                            [primaryKey] => id
                                            [sequenceName] => 
                                            [foreignKeys] => Array
                                                (
                                                    [event_id] => Array
                                                        (
                                                            [0] => events
                                                            [1] => id
                                                        )

                                                )

                                            [columns] => Array
                                                (
                                                    [id] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => id
                                                            [rawName] => `id`
                                                            [allowNull] => 
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 1
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 1
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [date] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => date
                                                            [rawName] => `date`
                                                            [allowNull] => 1
                                                            [dbType] => datetime
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 
                                                            [precision] => 
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [event_id] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => event_id
                                                            [rawName] => `event_id`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 1
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [type_of_ticket] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => type_of_ticket
                                                            [rawName] => `type_of_ticket`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [description_of_ticket] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => description_of_ticket
                                                            [rawName] => `description_of_ticket`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [ticket_code] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => ticket_code
                                                            [rawName] => `ticket_code`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [quantity] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => quantity
                                                            [rawName] => `quantity`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [price] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => price
                                                            [rawName] => `price`
                                                            [allowNull] => 1
                                                            [dbType] => decimal(10,0)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 10
                                                            [precision] => 10
                                                            [scale] => 0
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [ticket_code_org] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => ticket_code_org
                                                            [rawName] => `ticket_code_org`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [seat_map] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => seat_map
                                                            [rawName] => `seat_map`
                                                            [allowNull] => 1
                                                            [dbType] => tinyint(1)
                                                            [type] => integer
                                                            [defaultValue] => 0
                                                            [size] => 1
                                                            [precision] => 1
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [pic_seat_map] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => pic_seat_map
                                                            [rawName] => `pic_seat_map`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [ranking] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => ranking
                                                            [rawName] => `ranking`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [remain_quantity] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => remain_quantity
                                                            [rawName] => `remain_quantity`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [created_by] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => created_by
                                                            [rawName] => `created_by`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [updated_date] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => updated_date
                                                            [rawName] => `updated_date`
                                                            [allowNull] => 1
                                                            [dbType] => datetime
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 
                                                            [precision] => 
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [updated_by] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => updated_by
                                                            [rawName] => `updated_by`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_related:CJoinElement:private] => Array
                                        (
                                        )

                                )

                            [1] => events
                        )

                )

            [1] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\db\ar\CActiveFinder.php
                    [line] => 48
                    [function] => buildJoinTree
                    [class] => CActiveFinder
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CJoinElement Object
                                (
                                    [id] => 0
                                    [relation] => 
                                    [master] => 
                                    [slave] => 
                                    [model] => Ticket Object
                                        (
                                            [fileImage] => 
                                            [_md:CActiveRecord:private] => CActiveRecordMetaData Object
                                                (
                                                    [tableSchema] => CMysqlTableSchema Object
                                                        (
                                                            [schemaName] => 
                                                            [name] => tickets
                                                            [rawName] => `tickets`
                                                            [primaryKey] => id
                                                            [sequenceName] => 
                                                            [foreignKeys] => Array
                                                                (
                                                                    [event_id] => Array
                                                                        (
                                                                            [0] => events
                                                                            [1] => id
                                                                        )

                                                                )

                                                            [columns] => Array
                                                                (
                                                                    [id] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => id
                                                                            [rawName] => `id`
                                                                            [allowNull] => 
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 1
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 1
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [date] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => date
                                                                            [rawName] => `date`
                                                                            [allowNull] => 1
                                                                            [dbType] => datetime
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 
                                                                            [precision] => 
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [event_id] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => event_id
                                                                            [rawName] => `event_id`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 1
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [type_of_ticket] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => type_of_ticket
                                                                            [rawName] => `type_of_ticket`
                                                                            [allowNull] => 1
                                                                            [dbType] => varchar(255)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 255
                                                                            [precision] => 255
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [description_of_ticket] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => description_of_ticket
                                                                            [rawName] => `description_of_ticket`
                                                                            [allowNull] => 1
                                                                            [dbType] => varchar(255)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 255
                                                                            [precision] => 255
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [ticket_code] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => ticket_code
                                                                            [rawName] => `ticket_code`
                                                                            [allowNull] => 1
                                                                            [dbType] => varchar(255)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 255
                                                                            [precision] => 255
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [quantity] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => quantity
                                                                            [rawName] => `quantity`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [price] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => price
                                                                            [rawName] => `price`
                                                                            [allowNull] => 1
                                                                            [dbType] => decimal(10,0)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 10
                                                                            [precision] => 10
                                                                            [scale] => 0
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [ticket_code_org] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => ticket_code_org
                                                                            [rawName] => `ticket_code_org`
                                                                            [allowNull] => 1
                                                                            [dbType] => varchar(255)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 255
                                                                            [precision] => 255
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [seat_map] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => seat_map
                                                                            [rawName] => `seat_map`
                                                                            [allowNull] => 1
                                                                            [dbType] => tinyint(1)
                                                                            [type] => integer
                                                                            [defaultValue] => 0
                                                                            [size] => 1
                                                                            [precision] => 1
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [pic_seat_map] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => pic_seat_map
                                                                            [rawName] => `pic_seat_map`
                                                                            [allowNull] => 1
                                                                            [dbType] => varchar(255)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 255
                                                                            [precision] => 255
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [ranking] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => ranking
                                                                            [rawName] => `ranking`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [remain_quantity] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => remain_quantity
                                                                            [rawName] => `remain_quantity`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [created_by] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => created_by
                                                                            [rawName] => `created_by`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [updated_date] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => updated_date
                                                                            [rawName] => `updated_date`
                                                                            [allowNull] => 1
                                                                            [dbType] => datetime
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 
                                                                            [precision] => 
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [updated_by] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => updated_by
                                                                            [rawName] => `updated_by`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                )

                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [columns] => Array
                                                        (
                                                            [id] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => id
                                                                    [rawName] => `id`
                                                                    [allowNull] => 
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 1
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 1
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [date] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => date
                                                                    [rawName] => `date`
                                                                    [allowNull] => 1
                                                                    [dbType] => datetime
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 
                                                                    [precision] => 
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [event_id] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => event_id
                                                                    [rawName] => `event_id`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 1
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [type_of_ticket] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => type_of_ticket
                                                                    [rawName] => `type_of_ticket`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [description_of_ticket] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => description_of_ticket
                                                                    [rawName] => `description_of_ticket`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [ticket_code] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => ticket_code
                                                                    [rawName] => `ticket_code`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [quantity] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => quantity
                                                                    [rawName] => `quantity`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [price] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => price
                                                                    [rawName] => `price`
                                                                    [allowNull] => 1
                                                                    [dbType] => decimal(10,0)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 10
                                                                    [precision] => 10
                                                                    [scale] => 0
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [ticket_code_org] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => ticket_code_org
                                                                    [rawName] => `ticket_code_org`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [seat_map] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => seat_map
                                                                    [rawName] => `seat_map`
                                                                    [allowNull] => 1
                                                                    [dbType] => tinyint(1)
                                                                    [type] => integer
                                                                    [defaultValue] => 0
                                                                    [size] => 1
                                                                    [precision] => 1
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [pic_seat_map] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => pic_seat_map
                                                                    [rawName] => `pic_seat_map`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [ranking] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => ranking
                                                                    [rawName] => `ranking`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [remain_quantity] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => remain_quantity
                                                                    [rawName] => `remain_quantity`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [created_by] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => created_by
                                                                    [rawName] => `created_by`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [updated_date] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => updated_date
                                                                    [rawName] => `updated_date`
                                                                    [allowNull] => 1
                                                                    [dbType] => datetime
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 
                                                                    [precision] => 
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [updated_by] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => updated_by
                                                                    [rawName] => `updated_by`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                        )

                                                    [relations] => Array
                                                        (
                                                            [booked] => CHasManyRelation Object
                                                                (
                                                                    [limit] => -1
                                                                    [offset] => -1
                                                                    [index] => 
                                                                    [through] => 
                                                                    [joinType] => LEFT OUTER JOIN
                                                                    [on] => 
                                                                    [alias] => 
                                                                    [with] => Array
                                                                        (
                                                                        )

                                                                    [together] => 
                                                                    [scopes] => 
                                                                    [name] => booked
                                                                    [className] => Booked
                                                                    [foreignKey] => ticket_id
                                                                    [select] => *
                                                                    [condition] => 
                                                                    [params] => Array
                                                                        (
                                                                        )

                                                                    [group] => 
                                                                    [join] => 
                                                                    [having] => 
                                                                    [order] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [event] => CBelongsToRelation Object
                                                                (
                                                                    [joinType] => LEFT OUTER JOIN
                                                                    [on] => 
                                                                    [alias] => 
                                                                    [with] => Array
                                                                        (
                                                                        )

                                                                    [together] => 
                                                                    [scopes] => 
                                                                    [name] => event
                                                                    [className] => Event
                                                                    [foreignKey] => event_id
                                                                    [select] => *
                                                                    [condition] => 
                                                                    [params] => Array
                                                                        (
                                                                        )

                                                                    [group] => 
                                                                    [join] => 
                                                                    [having] => 
                                                                    [order] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [update_user] => CHasOneRelation Object
                                                                (
                                                                    [through] => 
                                                                    [joinType] => LEFT OUTER JOIN
                                                                    [on] => 
                                                                    [alias] => 
                                                                    [with] => Array
                                                                        (
                                                                        )

                                                                    [together] => 
                                                                    [scopes] => 
                                                                    [name] => update_user
                                                                    [className] => Users
                                                                    [foreignKey] => updated_by
                                                                    [select] => *
                                                                    [condition] => 
                                                                    [params] => Array
                                                                        (
                                                                        )

                                                                    [group] => 
                                                                    [join] => 
                                                                    [having] => 
                                                                    [order] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [create_user] => CHasOneRelation Object
                                                                (
                                                                    [through] => 
                                                                    [joinType] => LEFT OUTER JOIN
                                                                    [on] => 
                                                                    [alias] => 
                                                                    [with] => Array
                                                                        (
                                                                        )

                                                                    [together] => 
                                                                    [scopes] => 
                                                                    [name] => create_user
                                                                    [className] => Users
                                                                    [foreignKey] => created_by
                                                                    [select] => *
                                                                    [condition] => 
                                                                    [params] => Array
                                                                        (
                                                                        )

                                                                    [group] => 
                                                                    [join] => 
                                                                    [having] => 
                                                                    [order] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                        )

                                                    [attributeDefaults] => Array
                                                        (
                                                            [seat_map] => 0
                                                        )

                                                    [_model:CActiveRecordMetaData:private] => Ticket Object
 *RECURSION*
                                                )

                                            [_new:CActiveRecord:private] => 
                                            [_attributes:CActiveRecord:private] => Array
                                                (
                                                )

                                            [_related:CActiveRecord:private] => Array
                                                (
                                                )

                                            [_c:CActiveRecord:private] => 
                                            [_pk:CActiveRecord:private] => 
                                            [_alias:CActiveRecord:private] => t
                                            [_errors:CModel:private] => Array
                                                (
                                                )

                                            [_validators:CModel:private] => 
                                            [_scenario:CModel:private] => 
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [records] => Array
                                        (
                                        )

                                    [children] => Array
                                        (
                                        )

                                    [stats] => Array
                                        (
                                        )

                                    [tableAlias] => t
                                    [rawTableAlias] => `t`
                                    [_finder:CJoinElement:private] => CActiveFinder Object
                                        (
                                            [joinAll] => 
                                            [baseLimited] => 
                                            [_joinCount:CActiveFinder:private] => 0
                                            [_joinTree:CActiveFinder:private] => CJoinElement Object
 *RECURSION*
                                            [_builder:CActiveFinder:private] => CMysqlCommandBuilder Object
                                                (
                                                    [_schema:CDbCommandBuilder:private] => CMysqlSchema Object
                                                        (
                                                            [columnTypes] => Array
                                                                (
                                                                    [pk] => int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY
                                                                    [string] => varchar(255)
                                                                    [text] => text
                                                                    [integer] => int(11)
                                                                    [float] => float
                                                                    [decimal] => decimal
                                                                    [datetime] => datetime
                                                                    [timestamp] => timestamp
                                                                    [time] => time
                                                                    [date] => date
                                                                    [binary] => blob
                                                                    [boolean] => tinyint(1)
                                                                    [money] => decimal(19,4)
                                                                )

                                                            [_tableNames:CDbSchema:private] => Array
                                                                (
                                                                )

                                                            [_tables:CDbSchema:private] => Array
                                                                (
                                                                    [tickets] => CMysqlTableSchema Object
                                                                        (
                                                                            [schemaName] => 
                                                                            [name] => tickets
                                                                            [rawName] => `tickets`
                                                                            [primaryKey] => id
                                                                            [sequenceName] => 
                                                                            [foreignKeys] => Array
                                                                                (
                                                                                    [event_id] => Array
                                                                                        (
                                                                                            [0] => events
                                                                                            [1] => id
                                                                                        )

                                                                                )

                                                                            [columns] => Array
                                                                                (
                                                                                    [id] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => id
                                                                                            [rawName] => `id`
                                                                                            [allowNull] => 
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 1
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 1
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [date] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => date
                                                                                            [rawName] => `date`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => datetime
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 
                                                                                            [precision] => 
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [event_id] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => event_id
                                                                                            [rawName] => `event_id`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 1
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [type_of_ticket] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => type_of_ticket
                                                                                            [rawName] => `type_of_ticket`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [description_of_ticket] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => description_of_ticket
                                                                                            [rawName] => `description_of_ticket`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ticket_code] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ticket_code
                                                                                            [rawName] => `ticket_code`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [quantity] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => quantity
                                                                                            [rawName] => `quantity`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [price] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => price
                                                                                            [rawName] => `price`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => decimal(10,0)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 10
                                                                                            [precision] => 10
                                                                                            [scale] => 0
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ticket_code_org] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ticket_code_org
                                                                                            [rawName] => `ticket_code_org`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [seat_map] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => seat_map
                                                                                            [rawName] => `seat_map`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => tinyint(1)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 0
                                                                                            [size] => 1
                                                                                            [precision] => 1
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [pic_seat_map] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => pic_seat_map
                                                                                            [rawName] => `pic_seat_map`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ranking] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ranking
                                                                                            [rawName] => `ranking`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [remain_quantity] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => remain_quantity
                                                                                            [rawName] => `remain_quantity`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [created_by] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => created_by
                                                                                            [rawName] => `created_by`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [updated_date] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => updated_date
                                                                                            [rawName] => `updated_date`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => datetime
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 
                                                                                            [precision] => 
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [updated_by] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => updated_by
                                                                                            [rawName] => `updated_by`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                )

                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                )

                                                            [_connection:CDbSchema:private] => CDbConnection Object
                                                                (
                                                                    [connectionString] => mysql:host=localhost;dbname=booking
                                                                    [username] => root
                                                                    [password] => 
                                                                    [schemaCachingDuration] => 0
                                                                    [schemaCachingExclude] => Array
                                                                        (
                                                                        )

                                                                    [schemaCacheID] => cache
                                                                    [queryCachingDuration] => 0
                                                                    [queryCachingDependency] => 
                                                                    [queryCachingCount] => 0
                                                                    [queryCacheID] => cache
                                                                    [autoConnect] => 1
                                                                    [charset] => utf8
                                                                    [emulatePrepare] => 1
                                                                    [enableParamLogging] => 
                                                                    [enableProfiling] => 
                                                                    [tablePrefix] => 
                                                                    [initSQLs] => 
                                                                    [driverMap] => Array
                                                                        (
                                                                            [pgsql] => CPgsqlSchema
                                                                            [mysqli] => CMysqlSchema
                                                                            [mysql] => CMysqlSchema
                                                                            [sqlite] => CSqliteSchema
                                                                            [sqlite2] => CSqliteSchema
                                                                            [mssql] => CMssqlSchema
                                                                            [dblib] => CMssqlSchema
                                                                            [sqlsrv] => CMssqlSchema
                                                                            [oci] => COciSchema
                                                                        )

                                                                    [pdoClass] => PDO
                                                                    [_attributes:CDbConnection:private] => Array
                                                                        (
                                                                        )

                                                                    [_active:CDbConnection:private] => 1
                                                                    [_pdo:CDbConnection:private] => PDO Object
                                                                        (
                                                                        )

                                                                    [_transaction:CDbConnection:private] => 
                                                                    [_schema:CDbConnection:private] => CMysqlSchema Object
 *RECURSION*
                                                                    [behaviors] => Array
                                                                        (
                                                                        )

                                                                    [_initialized:CApplicationComponent:private] => 1
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [_builder:CDbSchema:private] => CMysqlCommandBuilder Object
 *RECURSION*
                                                            [_cacheExclude:CDbSchema:private] => Array
                                                                (
                                                                )

                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [_connection:CDbCommandBuilder:private] => CDbConnection Object
                                                        (
                                                            [connectionString] => mysql:host=localhost;dbname=booking
                                                            [username] => root
                                                            [password] => 
                                                            [schemaCachingDuration] => 0
                                                            [schemaCachingExclude] => Array
                                                                (
                                                                )

                                                            [schemaCacheID] => cache
                                                            [queryCachingDuration] => 0
                                                            [queryCachingDependency] => 
                                                            [queryCachingCount] => 0
                                                            [queryCacheID] => cache
                                                            [autoConnect] => 1
                                                            [charset] => utf8
                                                            [emulatePrepare] => 1
                                                            [enableParamLogging] => 
                                                            [enableProfiling] => 
                                                            [tablePrefix] => 
                                                            [initSQLs] => 
                                                            [driverMap] => Array
                                                                (
                                                                    [pgsql] => CPgsqlSchema
                                                                    [mysqli] => CMysqlSchema
                                                                    [mysql] => CMysqlSchema
                                                                    [sqlite] => CSqliteSchema
                                                                    [sqlite2] => CSqliteSchema
                                                                    [mssql] => CMssqlSchema
                                                                    [dblib] => CMssqlSchema
                                                                    [sqlsrv] => CMssqlSchema
                                                                    [oci] => COciSchema
                                                                )

                                                            [pdoClass] => PDO
                                                            [_attributes:CDbConnection:private] => Array
                                                                (
                                                                )

                                                            [_active:CDbConnection:private] => 1
                                                            [_pdo:CDbConnection:private] => PDO Object
                                                                (
                                                                )

                                                            [_transaction:CDbConnection:private] => 
                                                            [_schema:CDbConnection:private] => CMysqlSchema Object
                                                                (
                                                                    [columnTypes] => Array
                                                                        (
                                                                            [pk] => int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY
                                                                            [string] => varchar(255)
                                                                            [text] => text
                                                                            [integer] => int(11)
                                                                            [float] => float
                                                                            [decimal] => decimal
                                                                            [datetime] => datetime
                                                                            [timestamp] => timestamp
                                                                            [time] => time
                                                                            [date] => date
                                                                            [binary] => blob
                                                                            [boolean] => tinyint(1)
                                                                            [money] => decimal(19,4)
                                                                        )

                                                                    [_tableNames:CDbSchema:private] => Array
                                                                        (
                                                                        )

                                                                    [_tables:CDbSchema:private] => Array
                                                                        (
                                                                            [tickets] => CMysqlTableSchema Object
                                                                                (
                                                                                    [schemaName] => 
                                                                                    [name] => tickets
                                                                                    [rawName] => `tickets`
                                                                                    [primaryKey] => id
                                                                                    [sequenceName] => 
                                                                                    [foreignKeys] => Array
                                                                                        (
                                                                                            [event_id] => Array
                                                                                                (
                                                                                                    [0] => events
                                                                                                    [1] => id
                                                                                                )

                                                                                        )

                                                                                    [columns] => Array
                                                                                        (
                                                                                            [id] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => id
                                                                                                    [rawName] => `id`
                                                                                                    [allowNull] => 
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 1
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 1
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [date] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => date
                                                                                                    [rawName] => `date`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => datetime
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 
                                                                                                    [precision] => 
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [event_id] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => event_id
                                                                                                    [rawName] => `event_id`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 1
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [type_of_ticket] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => type_of_ticket
                                                                                                    [rawName] => `type_of_ticket`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => varchar(255)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 255
                                                                                                    [precision] => 255
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [description_of_ticket] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => description_of_ticket
                                                                                                    [rawName] => `description_of_ticket`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => varchar(255)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 255
                                                                                                    [precision] => 255
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [ticket_code] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => ticket_code
                                                                                                    [rawName] => `ticket_code`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => varchar(255)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 255
                                                                                                    [precision] => 255
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [quantity] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => quantity
                                                                                                    [rawName] => `quantity`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [price] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => price
                                                                                                    [rawName] => `price`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => decimal(10,0)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 10
                                                                                                    [precision] => 10
                                                                                                    [scale] => 0
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [ticket_code_org] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => ticket_code_org
                                                                                                    [rawName] => `ticket_code_org`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => varchar(255)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 255
                                                                                                    [precision] => 255
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [seat_map] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => seat_map
                                                                                                    [rawName] => `seat_map`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => tinyint(1)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 0
                                                                                                    [size] => 1
                                                                                                    [precision] => 1
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [pic_seat_map] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => pic_seat_map
                                                                                                    [rawName] => `pic_seat_map`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => varchar(255)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 255
                                                                                                    [precision] => 255
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [ranking] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => ranking
                                                                                                    [rawName] => `ranking`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [remain_quantity] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => remain_quantity
                                                                                                    [rawName] => `remain_quantity`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [created_by] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => created_by
                                                                                                    [rawName] => `created_by`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [updated_date] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => updated_date
                                                                                                    [rawName] => `updated_date`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => datetime
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 
                                                                                                    [precision] => 
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [updated_by] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => updated_by
                                                                                                    [rawName] => `updated_by`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                        )

                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                        )

                                                                    [_connection:CDbSchema:private] => CDbConnection Object
 *RECURSION*
                                                                    [_builder:CDbSchema:private] => CMysqlCommandBuilder Object
 *RECURSION*
                                                                    [_cacheExclude:CDbSchema:private] => Array
                                                                        (
                                                                        )

                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [behaviors] => Array
                                                                (
                                                                )

                                                            [_initialized:CApplicationComponent:private] => 1
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [_e:CComponent:private] => 
                                                    [_m:CComponent:private] => 
                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_builder:CJoinElement:private] => CMysqlCommandBuilder Object
                                        (
                                            [_schema:CDbCommandBuilder:private] => CMysqlSchema Object
                                                (
                                                    [columnTypes] => Array
                                                        (
                                                            [pk] => int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY
                                                            [string] => varchar(255)
                                                            [text] => text
                                                            [integer] => int(11)
                                                            [float] => float
                                                            [decimal] => decimal
                                                            [datetime] => datetime
                                                            [timestamp] => timestamp
                                                            [time] => time
                                                            [date] => date
                                                            [binary] => blob
                                                            [boolean] => tinyint(1)
                                                            [money] => decimal(19,4)
                                                        )

                                                    [_tableNames:CDbSchema:private] => Array
                                                        (
                                                        )

                                                    [_tables:CDbSchema:private] => Array
                                                        (
                                                            [tickets] => CMysqlTableSchema Object
                                                                (
                                                                    [schemaName] => 
                                                                    [name] => tickets
                                                                    [rawName] => `tickets`
                                                                    [primaryKey] => id
                                                                    [sequenceName] => 
                                                                    [foreignKeys] => Array
                                                                        (
                                                                            [event_id] => Array
                                                                                (
                                                                                    [0] => events
                                                                                    [1] => id
                                                                                )

                                                                        )

                                                                    [columns] => Array
                                                                        (
                                                                            [id] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => id
                                                                                    [rawName] => `id`
                                                                                    [allowNull] => 
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 1
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 1
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [date] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => date
                                                                                    [rawName] => `date`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => datetime
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 
                                                                                    [precision] => 
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [event_id] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => event_id
                                                                                    [rawName] => `event_id`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 1
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [type_of_ticket] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => type_of_ticket
                                                                                    [rawName] => `type_of_ticket`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => varchar(255)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 255
                                                                                    [precision] => 255
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [description_of_ticket] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => description_of_ticket
                                                                                    [rawName] => `description_of_ticket`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => varchar(255)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 255
                                                                                    [precision] => 255
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [ticket_code] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => ticket_code
                                                                                    [rawName] => `ticket_code`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => varchar(255)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 255
                                                                                    [precision] => 255
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [quantity] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => quantity
                                                                                    [rawName] => `quantity`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [price] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => price
                                                                                    [rawName] => `price`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => decimal(10,0)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 10
                                                                                    [precision] => 10
                                                                                    [scale] => 0
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [ticket_code_org] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => ticket_code_org
                                                                                    [rawName] => `ticket_code_org`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => varchar(255)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 255
                                                                                    [precision] => 255
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [seat_map] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => seat_map
                                                                                    [rawName] => `seat_map`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => tinyint(1)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 0
                                                                                    [size] => 1
                                                                                    [precision] => 1
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [pic_seat_map] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => pic_seat_map
                                                                                    [rawName] => `pic_seat_map`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => varchar(255)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 255
                                                                                    [precision] => 255
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [ranking] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => ranking
                                                                                    [rawName] => `ranking`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [remain_quantity] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => remain_quantity
                                                                                    [rawName] => `remain_quantity`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [created_by] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => created_by
                                                                                    [rawName] => `created_by`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [updated_date] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => updated_date
                                                                                    [rawName] => `updated_date`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => datetime
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 
                                                                                    [precision] => 
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [updated_by] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => updated_by
                                                                                    [rawName] => `updated_by`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                        )

                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                        )

                                                    [_connection:CDbSchema:private] => CDbConnection Object
                                                        (
                                                            [connectionString] => mysql:host=localhost;dbname=booking
                                                            [username] => root
                                                            [password] => 
                                                            [schemaCachingDuration] => 0
                                                            [schemaCachingExclude] => Array
                                                                (
                                                                )

                                                            [schemaCacheID] => cache
                                                            [queryCachingDuration] => 0
                                                            [queryCachingDependency] => 
                                                            [queryCachingCount] => 0
                                                            [queryCacheID] => cache
                                                            [autoConnect] => 1
                                                            [charset] => utf8
                                                            [emulatePrepare] => 1
                                                            [enableParamLogging] => 
                                                            [enableProfiling] => 
                                                            [tablePrefix] => 
                                                            [initSQLs] => 
                                                            [driverMap] => Array
                                                                (
                                                                    [pgsql] => CPgsqlSchema
                                                                    [mysqli] => CMysqlSchema
                                                                    [mysql] => CMysqlSchema
                                                                    [sqlite] => CSqliteSchema
                                                                    [sqlite2] => CSqliteSchema
                                                                    [mssql] => CMssqlSchema
                                                                    [dblib] => CMssqlSchema
                                                                    [sqlsrv] => CMssqlSchema
                                                                    [oci] => COciSchema
                                                                )

                                                            [pdoClass] => PDO
                                                            [_attributes:CDbConnection:private] => Array
                                                                (
                                                                )

                                                            [_active:CDbConnection:private] => 1
                                                            [_pdo:CDbConnection:private] => PDO Object
                                                                (
                                                                )

                                                            [_transaction:CDbConnection:private] => 
                                                            [_schema:CDbConnection:private] => CMysqlSchema Object
 *RECURSION*
                                                            [behaviors] => Array
                                                                (
                                                                )

                                                            [_initialized:CApplicationComponent:private] => 1
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [_builder:CDbSchema:private] => CMysqlCommandBuilder Object
 *RECURSION*
                                                    [_cacheExclude:CDbSchema:private] => Array
                                                        (
                                                        )

                                                    [_e:CComponent:private] => 
                                                    [_m:CComponent:private] => 
                                                )

                                            [_connection:CDbCommandBuilder:private] => CDbConnection Object
                                                (
                                                    [connectionString] => mysql:host=localhost;dbname=booking
                                                    [username] => root
                                                    [password] => 
                                                    [schemaCachingDuration] => 0
                                                    [schemaCachingExclude] => Array
                                                        (
                                                        )

                                                    [schemaCacheID] => cache
                                                    [queryCachingDuration] => 0
                                                    [queryCachingDependency] => 
                                                    [queryCachingCount] => 0
                                                    [queryCacheID] => cache
                                                    [autoConnect] => 1
                                                    [charset] => utf8
                                                    [emulatePrepare] => 1
                                                    [enableParamLogging] => 
                                                    [enableProfiling] => 
                                                    [tablePrefix] => 
                                                    [initSQLs] => 
                                                    [driverMap] => Array
                                                        (
                                                            [pgsql] => CPgsqlSchema
                                                            [mysqli] => CMysqlSchema
                                                            [mysql] => CMysqlSchema
                                                            [sqlite] => CSqliteSchema
                                                            [sqlite2] => CSqliteSchema
                                                            [mssql] => CMssqlSchema
                                                            [dblib] => CMssqlSchema
                                                            [sqlsrv] => CMssqlSchema
                                                            [oci] => COciSchema
                                                        )

                                                    [pdoClass] => PDO
                                                    [_attributes:CDbConnection:private] => Array
                                                        (
                                                        )

                                                    [_active:CDbConnection:private] => 1
                                                    [_pdo:CDbConnection:private] => PDO Object
                                                        (
                                                        )

                                                    [_transaction:CDbConnection:private] => 
                                                    [_schema:CDbConnection:private] => CMysqlSchema Object
                                                        (
                                                            [columnTypes] => Array
                                                                (
                                                                    [pk] => int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY
                                                                    [string] => varchar(255)
                                                                    [text] => text
                                                                    [integer] => int(11)
                                                                    [float] => float
                                                                    [decimal] => decimal
                                                                    [datetime] => datetime
                                                                    [timestamp] => timestamp
                                                                    [time] => time
                                                                    [date] => date
                                                                    [binary] => blob
                                                                    [boolean] => tinyint(1)
                                                                    [money] => decimal(19,4)
                                                                )

                                                            [_tableNames:CDbSchema:private] => Array
                                                                (
                                                                )

                                                            [_tables:CDbSchema:private] => Array
                                                                (
                                                                    [tickets] => CMysqlTableSchema Object
                                                                        (
                                                                            [schemaName] => 
                                                                            [name] => tickets
                                                                            [rawName] => `tickets`
                                                                            [primaryKey] => id
                                                                            [sequenceName] => 
                                                                            [foreignKeys] => Array
                                                                                (
                                                                                    [event_id] => Array
                                                                                        (
                                                                                            [0] => events
                                                                                            [1] => id
                                                                                        )

                                                                                )

                                                                            [columns] => Array
                                                                                (
                                                                                    [id] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => id
                                                                                            [rawName] => `id`
                                                                                            [allowNull] => 
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 1
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 1
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [date] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => date
                                                                                            [rawName] => `date`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => datetime
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 
                                                                                            [precision] => 
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [event_id] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => event_id
                                                                                            [rawName] => `event_id`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 1
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [type_of_ticket] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => type_of_ticket
                                                                                            [rawName] => `type_of_ticket`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [description_of_ticket] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => description_of_ticket
                                                                                            [rawName] => `description_of_ticket`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ticket_code] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ticket_code
                                                                                            [rawName] => `ticket_code`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [quantity] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => quantity
                                                                                            [rawName] => `quantity`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [price] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => price
                                                                                            [rawName] => `price`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => decimal(10,0)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 10
                                                                                            [precision] => 10
                                                                                            [scale] => 0
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ticket_code_org] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ticket_code_org
                                                                                            [rawName] => `ticket_code_org`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [seat_map] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => seat_map
                                                                                            [rawName] => `seat_map`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => tinyint(1)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 0
                                                                                            [size] => 1
                                                                                            [precision] => 1
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [pic_seat_map] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => pic_seat_map
                                                                                            [rawName] => `pic_seat_map`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ranking] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ranking
                                                                                            [rawName] => `ranking`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [remain_quantity] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => remain_quantity
                                                                                            [rawName] => `remain_quantity`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [created_by] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => created_by
                                                                                            [rawName] => `created_by`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [updated_date] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => updated_date
                                                                                            [rawName] => `updated_date`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => datetime
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 
                                                                                            [precision] => 
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [updated_by] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => updated_by
                                                                                            [rawName] => `updated_by`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                )

                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                )

                                                            [_connection:CDbSchema:private] => CDbConnection Object
 *RECURSION*
                                                            [_builder:CDbSchema:private] => CMysqlCommandBuilder Object
 *RECURSION*
                                                            [_cacheExclude:CDbSchema:private] => Array
                                                                (
                                                                )

                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [behaviors] => Array
                                                        (
                                                        )

                                                    [_initialized:CApplicationComponent:private] => 1
                                                    [_e:CComponent:private] => 
                                                    [_m:CComponent:private] => 
                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_parent:CJoinElement:private] => 
                                    [_pkAlias:CJoinElement:private] => t0_c0
                                    [_columnAliases:CJoinElement:private] => Array
                                        (
                                            [id] => t0_c0
                                            [date] => t0_c1
                                            [event_id] => t0_c2
                                            [type_of_ticket] => t0_c3
                                            [description_of_ticket] => t0_c4
                                            [ticket_code] => t0_c5
                                            [quantity] => t0_c6
                                            [price] => t0_c7
                                            [ticket_code_org] => t0_c8
                                            [seat_map] => t0_c9
                                            [pic_seat_map] => t0_c10
                                            [ranking] => t0_c11
                                            [remain_quantity] => t0_c12
                                            [created_by] => t0_c13
                                            [updated_date] => t0_c14
                                            [updated_by] => t0_c15
                                        )

                                    [_joined:CJoinElement:private] => 
                                    [_table:CJoinElement:private] => CMysqlTableSchema Object
                                        (
                                            [schemaName] => 
                                            [name] => tickets
                                            [rawName] => `tickets`
                                            [primaryKey] => id
                                            [sequenceName] => 
                                            [foreignKeys] => Array
                                                (
                                                    [event_id] => Array
                                                        (
                                                            [0] => events
                                                            [1] => id
                                                        )

                                                )

                                            [columns] => Array
                                                (
                                                    [id] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => id
                                                            [rawName] => `id`
                                                            [allowNull] => 
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 1
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 1
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [date] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => date
                                                            [rawName] => `date`
                                                            [allowNull] => 1
                                                            [dbType] => datetime
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 
                                                            [precision] => 
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [event_id] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => event_id
                                                            [rawName] => `event_id`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 1
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [type_of_ticket] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => type_of_ticket
                                                            [rawName] => `type_of_ticket`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [description_of_ticket] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => description_of_ticket
                                                            [rawName] => `description_of_ticket`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [ticket_code] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => ticket_code
                                                            [rawName] => `ticket_code`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [quantity] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => quantity
                                                            [rawName] => `quantity`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [price] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => price
                                                            [rawName] => `price`
                                                            [allowNull] => 1
                                                            [dbType] => decimal(10,0)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 10
                                                            [precision] => 10
                                                            [scale] => 0
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [ticket_code_org] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => ticket_code_org
                                                            [rawName] => `ticket_code_org`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [seat_map] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => seat_map
                                                            [rawName] => `seat_map`
                                                            [allowNull] => 1
                                                            [dbType] => tinyint(1)
                                                            [type] => integer
                                                            [defaultValue] => 0
                                                            [size] => 1
                                                            [precision] => 1
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [pic_seat_map] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => pic_seat_map
                                                            [rawName] => `pic_seat_map`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [ranking] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => ranking
                                                            [rawName] => `ranking`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [remain_quantity] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => remain_quantity
                                                            [rawName] => `remain_quantity`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [created_by] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => created_by
                                                            [rawName] => `created_by`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [updated_date] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => updated_date
                                                            [rawName] => `updated_date`
                                                            [allowNull] => 1
                                                            [dbType] => datetime
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 
                                                            [precision] => 
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [updated_by] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => updated_by
                                                            [rawName] => `updated_by`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_related:CJoinElement:private] => Array
                                        (
                                        )

                                )

                            [1] => Array
                                (
                                    [0] => events
                                    [1] => create_user
                                    [2] => update_user
                                )

                        )

                )

            [2] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\db\ar\CActiveRecord.php
                    [line] => 1301
                    [function] => __construct
                    [class] => CActiveFinder
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Ticket Object
                                (
                                    [fileImage] => 
                                    [_md:CActiveRecord:private] => CActiveRecordMetaData Object
                                        (
                                            [tableSchema] => CMysqlTableSchema Object
                                                (
                                                    [schemaName] => 
                                                    [name] => tickets
                                                    [rawName] => `tickets`
                                                    [primaryKey] => id
                                                    [sequenceName] => 
                                                    [foreignKeys] => Array
                                                        (
                                                            [event_id] => Array
                                                                (
                                                                    [0] => events
                                                                    [1] => id
                                                                )

                                                        )

                                                    [columns] => Array
                                                        (
                                                            [id] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => id
                                                                    [rawName] => `id`
                                                                    [allowNull] => 
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 1
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 1
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [date] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => date
                                                                    [rawName] => `date`
                                                                    [allowNull] => 1
                                                                    [dbType] => datetime
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 
                                                                    [precision] => 
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [event_id] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => event_id
                                                                    [rawName] => `event_id`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 1
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [type_of_ticket] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => type_of_ticket
                                                                    [rawName] => `type_of_ticket`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [description_of_ticket] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => description_of_ticket
                                                                    [rawName] => `description_of_ticket`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [ticket_code] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => ticket_code
                                                                    [rawName] => `ticket_code`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [quantity] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => quantity
                                                                    [rawName] => `quantity`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [price] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => price
                                                                    [rawName] => `price`
                                                                    [allowNull] => 1
                                                                    [dbType] => decimal(10,0)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 10
                                                                    [precision] => 10
                                                                    [scale] => 0
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [ticket_code_org] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => ticket_code_org
                                                                    [rawName] => `ticket_code_org`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [seat_map] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => seat_map
                                                                    [rawName] => `seat_map`
                                                                    [allowNull] => 1
                                                                    [dbType] => tinyint(1)
                                                                    [type] => integer
                                                                    [defaultValue] => 0
                                                                    [size] => 1
                                                                    [precision] => 1
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [pic_seat_map] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => pic_seat_map
                                                                    [rawName] => `pic_seat_map`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [ranking] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => ranking
                                                                    [rawName] => `ranking`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [remain_quantity] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => remain_quantity
                                                                    [rawName] => `remain_quantity`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [created_by] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => created_by
                                                                    [rawName] => `created_by`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [updated_date] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => updated_date
                                                                    [rawName] => `updated_date`
                                                                    [allowNull] => 1
                                                                    [dbType] => datetime
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 
                                                                    [precision] => 
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [updated_by] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => updated_by
                                                                    [rawName] => `updated_by`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                        )

                                                    [_e:CComponent:private] => 
                                                    [_m:CComponent:private] => 
                                                )

                                            [columns] => Array
                                                (
                                                    [id] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => id
                                                            [rawName] => `id`
                                                            [allowNull] => 
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 1
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 1
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [date] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => date
                                                            [rawName] => `date`
                                                            [allowNull] => 1
                                                            [dbType] => datetime
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 
                                                            [precision] => 
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [event_id] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => event_id
                                                            [rawName] => `event_id`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 1
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [type_of_ticket] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => type_of_ticket
                                                            [rawName] => `type_of_ticket`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [description_of_ticket] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => description_of_ticket
                                                            [rawName] => `description_of_ticket`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [ticket_code] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => ticket_code
                                                            [rawName] => `ticket_code`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [quantity] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => quantity
                                                            [rawName] => `quantity`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [price] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => price
                                                            [rawName] => `price`
                                                            [allowNull] => 1
                                                            [dbType] => decimal(10,0)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 10
                                                            [precision] => 10
                                                            [scale] => 0
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [ticket_code_org] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => ticket_code_org
                                                            [rawName] => `ticket_code_org`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [seat_map] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => seat_map
                                                            [rawName] => `seat_map`
                                                            [allowNull] => 1
                                                            [dbType] => tinyint(1)
                                                            [type] => integer
                                                            [defaultValue] => 0
                                                            [size] => 1
                                                            [precision] => 1
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [pic_seat_map] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => pic_seat_map
                                                            [rawName] => `pic_seat_map`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [ranking] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => ranking
                                                            [rawName] => `ranking`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [remain_quantity] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => remain_quantity
                                                            [rawName] => `remain_quantity`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [created_by] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => created_by
                                                            [rawName] => `created_by`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [updated_date] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => updated_date
                                                            [rawName] => `updated_date`
                                                            [allowNull] => 1
                                                            [dbType] => datetime
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 
                                                            [precision] => 
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [updated_by] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => updated_by
                                                            [rawName] => `updated_by`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                )

                                            [relations] => Array
                                                (
                                                    [booked] => CHasManyRelation Object
                                                        (
                                                            [limit] => -1
                                                            [offset] => -1
                                                            [index] => 
                                                            [through] => 
                                                            [joinType] => LEFT OUTER JOIN
                                                            [on] => 
                                                            [alias] => 
                                                            [with] => Array
                                                                (
                                                                )

                                                            [together] => 
                                                            [scopes] => 
                                                            [name] => booked
                                                            [className] => Booked
                                                            [foreignKey] => ticket_id
                                                            [select] => *
                                                            [condition] => 
                                                            [params] => Array
                                                                (
                                                                )

                                                            [group] => 
                                                            [join] => 
                                                            [having] => 
                                                            [order] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [event] => CBelongsToRelation Object
                                                        (
                                                            [joinType] => LEFT OUTER JOIN
                                                            [on] => 
                                                            [alias] => 
                                                            [with] => Array
                                                                (
                                                                )

                                                            [together] => 
                                                            [scopes] => 
                                                            [name] => event
                                                            [className] => Event
                                                            [foreignKey] => event_id
                                                            [select] => *
                                                            [condition] => 
                                                            [params] => Array
                                                                (
                                                                )

                                                            [group] => 
                                                            [join] => 
                                                            [having] => 
                                                            [order] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [update_user] => CHasOneRelation Object
                                                        (
                                                            [through] => 
                                                            [joinType] => LEFT OUTER JOIN
                                                            [on] => 
                                                            [alias] => 
                                                            [with] => Array
                                                                (
                                                                )

                                                            [together] => 
                                                            [scopes] => 
                                                            [name] => update_user
                                                            [className] => Users
                                                            [foreignKey] => updated_by
                                                            [select] => *
                                                            [condition] => 
                                                            [params] => Array
                                                                (
                                                                )

                                                            [group] => 
                                                            [join] => 
                                                            [having] => 
                                                            [order] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [create_user] => CHasOneRelation Object
                                                        (
                                                            [through] => 
                                                            [joinType] => LEFT OUTER JOIN
                                                            [on] => 
                                                            [alias] => 
                                                            [with] => Array
                                                                (
                                                                )

                                                            [together] => 
                                                            [scopes] => 
                                                            [name] => create_user
                                                            [className] => Users
                                                            [foreignKey] => created_by
                                                            [select] => *
                                                            [condition] => 
                                                            [params] => Array
                                                                (
                                                                )

                                                            [group] => 
                                                            [join] => 
                                                            [having] => 
                                                            [order] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                )

                                            [attributeDefaults] => Array
                                                (
                                                    [seat_map] => 0
                                                )

                                            [_model:CActiveRecordMetaData:private] => Ticket Object
 *RECURSION*
                                        )

                                    [_new:CActiveRecord:private] => 
                                    [_attributes:CActiveRecord:private] => Array
                                        (
                                        )

                                    [_related:CActiveRecord:private] => Array
                                        (
                                        )

                                    [_c:CActiveRecord:private] => 
                                    [_pk:CActiveRecord:private] => 
                                    [_alias:CActiveRecord:private] => t
                                    [_errors:CModel:private] => Array
                                        (
                                        )

                                    [_validators:CModel:private] => 
                                    [_scenario:CModel:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [1] => Array
                                (
                                    [0] => events
                                    [1] => create_user
                                    [2] => update_user
                                )

                        )

                )

            [3] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\db\ar\CActiveRecord.php
                    [line] => 1432
                    [function] => query
                    [class] => CActiveRecord
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CDbCriteria Object
                                (
                                    [select] => *
                                    [distinct] => 
                                    [condition] => `t`.`id`=11
                                    [params] => Array
                                        (
                                        )

                                    [limit] => -1
                                    [offset] => -1
                                    [order] => 
                                    [group] => 
                                    [join] => 
                                    [having] => 
                                    [with] => 
                                    [alias] => 
                                    [together] => 
                                    [index] => 
                                    [scopes] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                )

            [4] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers\TicketController.php
                    [line] => 239
                    [function] => findByPk
                    [class] => CActiveRecord
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 11
                        )

                )

            [5] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers\TicketController.php
                    [line] => 260
                    [function] => loadModel
                    [class] => TicketController
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 11
                        )

                )

            [6] => Array
                (
                    [function] => actionDelete
                    [class] => TicketController
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 11
                        )

                )

            [7] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\actions\CAction.php
                    [line] => 108
                    [function] => invokeArgs
                    [class] => ReflectionMethod
                    [type] => ->
                    [args] => Array
                        (
                            [0] => TicketController Object
                                (
                                    [layoutPath] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\views\layouts\main
                                    [layout] => application.modules.bookingsystem.views.layouts.main
                                    [menu] => Array
                                        (
                                        )

                                    [breadcrumbs] => Array
                                        (
                                        )

                                    [code_lang] => 4
                                    [current_url] => 
                                    [defaultAction] => index
                                    [_id:CController:private] => ticket
                                    [_action:CController:private] => CInlineAction Object
                                        (
                                            [_id:CAction:private] => delete
                                            [_controller:CAction:private] => TicketController Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_pageTitle:CController:private] => 
                                    [_cachingStack:CController:private] => 
                                    [_clips:CController:private] => 
                                    [_dynamicOutput:CController:private] => 
                                    [_pageStates:CController:private] => 
                                    [_module:CController:private] => BookingsystemModule Object
                                        (
                                            [defaultController] => default
                                            [layout] => 
                                            [controllerNamespace] => 
                                            [controllerMap] => Array
                                                (
                                                )

                                            [_controllerPath:CWebModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers
                                            [_viewPath:CWebModule:private] => 
                                            [_layoutPath:CWebModule:private] => 
                                            [preload] => Array
                                                (
                                                )

                                            [behaviors] => Array
                                                (
                                                )

                                            [_id:CModule:private] => bookingsystem
                                            [_parentModule:CModule:private] => 
                                            [_basePath:CModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem
                                            [_modulePath:CModule:private] => 
                                            [_params:CModule:private] => 
                                            [_modules:CModule:private] => Array
                                                (
                                                )

                                            [_moduleConfig:CModule:private] => Array
                                                (
                                                )

                                            [_components:CModule:private] => Array
                                                (
                                                )

                                            [_componentConfig:CModule:private] => Array
                                                (
                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_widgetStack:CBaseController:private] => Array
                                        (
                                        )

                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [1] => Array
                                (
                                    [0] => 11
                                )

                        )

                )

            [8] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\actions\CInlineAction.php
                    [line] => 47
                    [function] => runWithParamsInternal
                    [class] => CAction
                    [type] => ->
                    [args] => Array
                        (
                            [0] => TicketController Object
                                (
                                    [layoutPath] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\views\layouts\main
                                    [layout] => application.modules.bookingsystem.views.layouts.main
                                    [menu] => Array
                                        (
                                        )

                                    [breadcrumbs] => Array
                                        (
                                        )

                                    [code_lang] => 4
                                    [current_url] => 
                                    [defaultAction] => index
                                    [_id:CController:private] => ticket
                                    [_action:CController:private] => CInlineAction Object
                                        (
                                            [_id:CAction:private] => delete
                                            [_controller:CAction:private] => TicketController Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_pageTitle:CController:private] => 
                                    [_cachingStack:CController:private] => 
                                    [_clips:CController:private] => 
                                    [_dynamicOutput:CController:private] => 
                                    [_pageStates:CController:private] => 
                                    [_module:CController:private] => BookingsystemModule Object
                                        (
                                            [defaultController] => default
                                            [layout] => 
                                            [controllerNamespace] => 
                                            [controllerMap] => Array
                                                (
                                                )

                                            [_controllerPath:CWebModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers
                                            [_viewPath:CWebModule:private] => 
                                            [_layoutPath:CWebModule:private] => 
                                            [preload] => Array
                                                (
                                                )

                                            [behaviors] => Array
                                                (
                                                )

                                            [_id:CModule:private] => bookingsystem
                                            [_parentModule:CModule:private] => 
                                            [_basePath:CModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem
                                            [_modulePath:CModule:private] => 
                                            [_params:CModule:private] => 
                                            [_modules:CModule:private] => Array
                                                (
                                                )

                                            [_moduleConfig:CModule:private] => Array
                                                (
                                                )

                                            [_components:CModule:private] => Array
                                                (
                                                )

                                            [_componentConfig:CModule:private] => Array
                                                (
                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_widgetStack:CBaseController:private] => Array
                                        (
                                        )

                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [1] => ReflectionMethod Object
                                (
                                    [name] => actionDelete
                                    [class] => TicketController
                                )

                            [2] => Array
                                (
                                    [id] => 11
                                )

                        )

                )

            [9] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\CController.php
                    [line] => 308
                    [function] => runWithParams
                    [class] => CInlineAction
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [id] => 11
                                )

                        )

                )

            [10] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\CController.php
                    [line] => 286
                    [function] => runAction
                    [class] => CController
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CInlineAction Object
                                (
                                    [_id:CAction:private] => delete
                                    [_controller:CAction:private] => TicketController Object
                                        (
                                            [layoutPath] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\views\layouts\main
                                            [layout] => application.modules.bookingsystem.views.layouts.main
                                            [menu] => Array
                                                (
                                                )

                                            [breadcrumbs] => Array
                                                (
                                                )

                                            [code_lang] => 4
                                            [current_url] => 
                                            [defaultAction] => index
                                            [_id:CController:private] => ticket
                                            [_action:CController:private] => CInlineAction Object
 *RECURSION*
                                            [_pageTitle:CController:private] => 
                                            [_cachingStack:CController:private] => 
                                            [_clips:CController:private] => 
                                            [_dynamicOutput:CController:private] => 
                                            [_pageStates:CController:private] => 
                                            [_module:CController:private] => BookingsystemModule Object
                                                (
                                                    [defaultController] => default
                                                    [layout] => 
                                                    [controllerNamespace] => 
                                                    [controllerMap] => Array
                                                        (
                                                        )

                                                    [_controllerPath:CWebModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers
                                                    [_viewPath:CWebModule:private] => 
                                                    [_layoutPath:CWebModule:private] => 
                                                    [preload] => Array
                                                        (
                                                        )

                                                    [behaviors] => Array
                                                        (
                                                        )

                                                    [_id:CModule:private] => bookingsystem
                                                    [_parentModule:CModule:private] => 
                                                    [_basePath:CModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem
                                                    [_modulePath:CModule:private] => 
                                                    [_params:CModule:private] => 
                                                    [_modules:CModule:private] => Array
                                                        (
                                                        )

                                                    [_moduleConfig:CModule:private] => Array
                                                        (
                                                        )

                                                    [_components:CModule:private] => Array
                                                        (
                                                        )

                                                    [_componentConfig:CModule:private] => Array
                                                        (
                                                        )

                                                    [_e:CComponent:private] => 
                                                    [_m:CComponent:private] => 
                                                )

                                            [_widgetStack:CBaseController:private] => Array
                                                (
                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                )

            [11] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\CController.php
                    [line] => 265
                    [function] => runActionWithFilters
                    [class] => CController
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CInlineAction Object
                                (
                                    [_id:CAction:private] => delete
                                    [_controller:CAction:private] => TicketController Object
                                        (
                                            [layoutPath] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\views\layouts\main
                                            [layout] => application.modules.bookingsystem.views.layouts.main
                                            [menu] => Array
                                                (
                                                )

                                            [breadcrumbs] => Array
                                                (
                                                )

                                            [code_lang] => 4
                                            [current_url] => 
                                            [defaultAction] => index
                                            [_id:CController:private] => ticket
                                            [_action:CController:private] => CInlineAction Object
 *RECURSION*
                                            [_pageTitle:CController:private] => 
                                            [_cachingStack:CController:private] => 
                                            [_clips:CController:private] => 
                                            [_dynamicOutput:CController:private] => 
                                            [_pageStates:CController:private] => 
                                            [_module:CController:private] => BookingsystemModule Object
                                                (
                                                    [defaultController] => default
                                                    [layout] => 
                                                    [controllerNamespace] => 
                                                    [controllerMap] => Array
                                                        (
                                                        )

                                                    [_controllerPath:CWebModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers
                                                    [_viewPath:CWebModule:private] => 
                                                    [_layoutPath:CWebModule:private] => 
                                                    [preload] => Array
                                                        (
                                                        )

                                                    [behaviors] => Array
                                                        (
                                                        )

                                                    [_id:CModule:private] => bookingsystem
                                                    [_parentModule:CModule:private] => 
                                                    [_basePath:CModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem
                                                    [_modulePath:CModule:private] => 
                                                    [_params:CModule:private] => 
                                                    [_modules:CModule:private] => Array
                                                        (
                                                        )

                                                    [_moduleConfig:CModule:private] => Array
                                                        (
                                                        )

                                                    [_components:CModule:private] => Array
                                                        (
                                                        )

                                                    [_componentConfig:CModule:private] => Array
                                                        (
                                                        )

                                                    [_e:CComponent:private] => 
                                                    [_m:CComponent:private] => 
                                                )

                                            [_widgetStack:CBaseController:private] => Array
                                                (
                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [1] => Array
                                (
                                )

                        )

                )

            [12] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\CWebApplication.php
                    [line] => 282
                    [function] => run
                    [class] => CController
                    [type] => ->
                    [args] => Array
                        (
                            [0] => delete
                        )

                )

            [13] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\CWebApplication.php
                    [line] => 141
                    [function] => runController
                    [class] => CWebApplication
                    [type] => ->
                    [args] => Array
                        (
                            [0] => bookingsystem/ticket/delete/id/11
                        )

                )

            [14] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\base\CApplication.php
                    [line] => 169
                    [function] => processRequest
                    [class] => CWebApplication
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [15] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\index.php
                    [line] => 17
                    [function] => run
                    [class] => CApplication
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

        )

    [previous:Exception:private] => 
)

    [message:protected] => 
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers\TicketController.php
    [line:protected] => 247
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers\TicketController.php
                    [line] => 260
                    [function] => loadModel
                    [class] => TicketController
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 11
                        )

                )

            [1] => Array
                (
                    [function] => actionDelete
                    [class] => TicketController
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 11
                        )

                )

            [2] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\actions\CAction.php
                    [line] => 108
                    [function] => invokeArgs
                    [class] => ReflectionMethod
                    [type] => ->
                    [args] => Array
                        (
                            [0] => TicketController Object
                                (
                                    [layoutPath] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\views\layouts\main
                                    [layout] => application.modules.bookingsystem.views.layouts.main
                                    [menu] => Array
                                        (
                                        )

                                    [breadcrumbs] => Array
                                        (
                                        )

                                    [code_lang] => 4
                                    [current_url] => 
                                    [defaultAction] => index
                                    [_id:CController:private] => ticket
                                    [_action:CController:private] => CInlineAction Object
                                        (
                                            [_id:CAction:private] => delete
                                            [_controller:CAction:private] => TicketController Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_pageTitle:CController:private] => 
                                    [_cachingStack:CController:private] => 
                                    [_clips:CController:private] => 
                                    [_dynamicOutput:CController:private] => 
                                    [_pageStates:CController:private] => 
                                    [_module:CController:private] => BookingsystemModule Object
                                        (
                                            [defaultController] => default
                                            [layout] => 
                                            [controllerNamespace] => 
                                            [controllerMap] => Array
                                                (
                                                )

                                            [_controllerPath:CWebModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers
                                            [_viewPath:CWebModule:private] => 
                                            [_layoutPath:CWebModule:private] => 
                                            [preload] => Array
                                                (
                                                )

                                            [behaviors] => Array
                                                (
                                                )

                                            [_id:CModule:private] => bookingsystem
                                            [_parentModule:CModule:private] => 
                                            [_basePath:CModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem
                                            [_modulePath:CModule:private] => 
                                            [_params:CModule:private] => 
                                            [_modules:CModule:private] => Array
                                                (
                                                )

                                            [_moduleConfig:CModule:private] => Array
                                                (
                                                )

                                            [_components:CModule:private] => Array
                                                (
                                                )

                                            [_componentConfig:CModule:private] => Array
                                                (
                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_widgetStack:CBaseController:private] => Array
                                        (
                                        )

                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [1] => Array
                                (
                                    [0] => 11
                                )

                        )

                )

            [3] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\actions\CInlineAction.php
                    [line] => 47
                    [function] => runWithParamsInternal
                    [class] => CAction
                    [type] => ->
                    [args] => Array
                        (
                            [0] => TicketController Object
                                (
                                    [layoutPath] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\views\layouts\main
                                    [layout] => application.modules.bookingsystem.views.layouts.main
                                    [menu] => Array
                                        (
                                        )

                                    [breadcrumbs] => Array
                                        (
                                        )

                                    [code_lang] => 4
                                    [current_url] => 
                                    [defaultAction] => index
                                    [_id:CController:private] => ticket
                                    [_action:CController:private] => CInlineAction Object
                                        (
                                            [_id:CAction:private] => delete
                                            [_controller:CAction:private] => TicketController Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_pageTitle:CController:private] => 
                                    [_cachingStack:CController:private] => 
                                    [_clips:CController:private] => 
                                    [_dynamicOutput:CController:private] => 
                                    [_pageStates:CController:private] => 
                                    [_module:CController:private] => BookingsystemModule Object
                                        (
                                            [defaultController] => default
                                            [layout] => 
                                            [controllerNamespace] => 
                                            [controllerMap] => Array
                                                (
                                                )

                                            [_controllerPath:CWebModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers
                                            [_viewPath:CWebModule:private] => 
                                            [_layoutPath:CWebModule:private] => 
                                            [preload] => Array
                                                (
                                                )

                                            [behaviors] => Array
                                                (
                                                )

                                            [_id:CModule:private] => bookingsystem
                                            [_parentModule:CModule:private] => 
                                            [_basePath:CModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem
                                            [_modulePath:CModule:private] => 
                                            [_params:CModule:private] => 
                                            [_modules:CModule:private] => Array
                                                (
                                                )

                                            [_moduleConfig:CModule:private] => Array
                                                (
                                                )

                                            [_components:CModule:private] => Array
                                                (
                                                )

                                            [_componentConfig:CModule:private] => Array
                                                (
                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_widgetStack:CBaseController:private] => Array
                                        (
                                        )

                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [1] => ReflectionMethod Object
                                (
                                    [name] => actionDelete
                                    [class] => TicketController
                                )

                            [2] => Array
                                (
                                    [id] => 11
                                )

                        )

                )

            [4] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\CController.php
                    [line] => 308
                    [function] => runWithParams
                    [class] => CInlineAction
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [id] => 11
                                )

                        )

                )

            [5] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\CController.php
                    [line] => 286
                    [function] => runAction
                    [class] => CController
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CInlineAction Object
                                (
                                    [_id:CAction:private] => delete
                                    [_controller:CAction:private] => TicketController Object
                                        (
                                            [layoutPath] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\views\layouts\main
                                            [layout] => application.modules.bookingsystem.views.layouts.main
                                            [menu] => Array
                                                (
                                                )

                                            [breadcrumbs] => Array
                                                (
                                                )

                                            [code_lang] => 4
                                            [current_url] => 
                                            [defaultAction] => index
                                            [_id:CController:private] => ticket
                                            [_action:CController:private] => CInlineAction Object
 *RECURSION*
                                            [_pageTitle:CController:private] => 
                                            [_cachingStack:CController:private] => 
                                            [_clips:CController:private] => 
                                            [_dynamicOutput:CController:private] => 
                                            [_pageStates:CController:private] => 
                                            [_module:CController:private] => BookingsystemModule Object
                                                (
                                                    [defaultController] => default
                                                    [layout] => 
                                                    [controllerNamespace] => 
                                                    [controllerMap] => Array
                                                        (
                                                        )

                                                    [_controllerPath:CWebModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers
                                                    [_viewPath:CWebModule:private] => 
                                                    [_layoutPath:CWebModule:private] => 
                                                    [preload] => Array
                                                        (
                                                        )

                                                    [behaviors] => Array
                                                        (
                                                        )

                                                    [_id:CModule:private] => bookingsystem
                                                    [_parentModule:CModule:private] => 
                                                    [_basePath:CModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem
                                                    [_modulePath:CModule:private] => 
                                                    [_params:CModule:private] => 
                                                    [_modules:CModule:private] => Array
                                                        (
                                                        )

                                                    [_moduleConfig:CModule:private] => Array
                                                        (
                                                        )

                                                    [_components:CModule:private] => Array
                                                        (
                                                        )

                                                    [_componentConfig:CModule:private] => Array
                                                        (
                                                        )

                                                    [_e:CComponent:private] => 
                                                    [_m:CComponent:private] => 
                                                )

                                            [_widgetStack:CBaseController:private] => Array
                                                (
                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                )

            [6] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\CController.php
                    [line] => 265
                    [function] => runActionWithFilters
                    [class] => CController
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CInlineAction Object
                                (
                                    [_id:CAction:private] => delete
                                    [_controller:CAction:private] => TicketController Object
                                        (
                                            [layoutPath] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\views\layouts\main
                                            [layout] => application.modules.bookingsystem.views.layouts.main
                                            [menu] => Array
                                                (
                                                )

                                            [breadcrumbs] => Array
                                                (
                                                )

                                            [code_lang] => 4
                                            [current_url] => 
                                            [defaultAction] => index
                                            [_id:CController:private] => ticket
                                            [_action:CController:private] => CInlineAction Object
 *RECURSION*
                                            [_pageTitle:CController:private] => 
                                            [_cachingStack:CController:private] => 
                                            [_clips:CController:private] => 
                                            [_dynamicOutput:CController:private] => 
                                            [_pageStates:CController:private] => 
                                            [_module:CController:private] => BookingsystemModule Object
                                                (
                                                    [defaultController] => default
                                                    [layout] => 
                                                    [controllerNamespace] => 
                                                    [controllerMap] => Array
                                                        (
                                                        )

                                                    [_controllerPath:CWebModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers
                                                    [_viewPath:CWebModule:private] => 
                                                    [_layoutPath:CWebModule:private] => 
                                                    [preload] => Array
                                                        (
                                                        )

                                                    [behaviors] => Array
                                                        (
                                                        )

                                                    [_id:CModule:private] => bookingsystem
                                                    [_parentModule:CModule:private] => 
                                                    [_basePath:CModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem
                                                    [_modulePath:CModule:private] => 
                                                    [_params:CModule:private] => 
                                                    [_modules:CModule:private] => Array
                                                        (
                                                        )

                                                    [_moduleConfig:CModule:private] => Array
                                                        (
                                                        )

                                                    [_components:CModule:private] => Array
                                                        (
                                                        )

                                                    [_componentConfig:CModule:private] => Array
                                                        (
                                                        )

                                                    [_e:CComponent:private] => 
                                                    [_m:CComponent:private] => 
                                                )

                                            [_widgetStack:CBaseController:private] => Array
                                                (
                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [1] => Array
                                (
                                )

                        )

                )

            [7] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\CWebApplication.php
                    [line] => 282
                    [function] => run
                    [class] => CController
                    [type] => ->
                    [args] => Array
                        (
                            [0] => delete
                        )

                )

            [8] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\CWebApplication.php
                    [line] => 141
                    [function] => runController
                    [class] => CWebApplication
                    [type] => ->
                    [args] => Array
                        (
                            [0] => bookingsystem/ticket/delete/id/11
                        )

                )

            [9] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\base\CApplication.php
                    [line] => 169
                    [function] => processRequest
                    [class] => CWebApplication
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [10] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\index.php
                    [line] => 17
                    [function] => run
                    [class] => CApplication
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

        )

    [previous:Exception:private] => 
)

in E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers\TicketController.php (270)
in E:\Company\Project\UpbeatBooking\Source\bookingupbeat\index.php (17)
2014/02/27 16:06:42 [error] [exception.CHttpException.Exception CHttpException Object
(
    [statusCode] => Exception CDbException Object
(
    [errorInfo] => 
    [message:protected] => Quan hệ "events" chưa được định nghĩa trong lớp active record "Ticket".
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\db\ar\CActiveFinder.php
    [line:protected] => 211
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\db\ar\CActiveFinder.php
                    [line] => 281
                    [function] => buildJoinTree
                    [class] => CActiveFinder
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CJoinElement Object
                                (
                                    [id] => 0
                                    [relation] => 
                                    [master] => 
                                    [slave] => 
                                    [model] => Ticket Object
                                        (
                                            [fileImage] => 
                                            [_md:CActiveRecord:private] => CActiveRecordMetaData Object
                                                (
                                                    [tableSchema] => CMysqlTableSchema Object
                                                        (
                                                            [schemaName] => 
                                                            [name] => tickets
                                                            [rawName] => `tickets`
                                                            [primaryKey] => id
                                                            [sequenceName] => 
                                                            [foreignKeys] => Array
                                                                (
                                                                    [event_id] => Array
                                                                        (
                                                                            [0] => events
                                                                            [1] => id
                                                                        )

                                                                )

                                                            [columns] => Array
                                                                (
                                                                    [id] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => id
                                                                            [rawName] => `id`
                                                                            [allowNull] => 
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 1
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 1
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [date] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => date
                                                                            [rawName] => `date`
                                                                            [allowNull] => 1
                                                                            [dbType] => datetime
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 
                                                                            [precision] => 
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [event_id] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => event_id
                                                                            [rawName] => `event_id`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 1
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [type_of_ticket] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => type_of_ticket
                                                                            [rawName] => `type_of_ticket`
                                                                            [allowNull] => 1
                                                                            [dbType] => varchar(255)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 255
                                                                            [precision] => 255
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [description_of_ticket] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => description_of_ticket
                                                                            [rawName] => `description_of_ticket`
                                                                            [allowNull] => 1
                                                                            [dbType] => varchar(255)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 255
                                                                            [precision] => 255
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [ticket_code] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => ticket_code
                                                                            [rawName] => `ticket_code`
                                                                            [allowNull] => 1
                                                                            [dbType] => varchar(255)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 255
                                                                            [precision] => 255
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [quantity] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => quantity
                                                                            [rawName] => `quantity`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [price] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => price
                                                                            [rawName] => `price`
                                                                            [allowNull] => 1
                                                                            [dbType] => decimal(10,0)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 10
                                                                            [precision] => 10
                                                                            [scale] => 0
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [ticket_code_org] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => ticket_code_org
                                                                            [rawName] => `ticket_code_org`
                                                                            [allowNull] => 1
                                                                            [dbType] => varchar(255)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 255
                                                                            [precision] => 255
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [seat_map] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => seat_map
                                                                            [rawName] => `seat_map`
                                                                            [allowNull] => 1
                                                                            [dbType] => tinyint(1)
                                                                            [type] => integer
                                                                            [defaultValue] => 0
                                                                            [size] => 1
                                                                            [precision] => 1
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [pic_seat_map] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => pic_seat_map
                                                                            [rawName] => `pic_seat_map`
                                                                            [allowNull] => 1
                                                                            [dbType] => varchar(255)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 255
                                                                            [precision] => 255
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [ranking] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => ranking
                                                                            [rawName] => `ranking`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [remain_quantity] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => remain_quantity
                                                                            [rawName] => `remain_quantity`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [created_by] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => created_by
                                                                            [rawName] => `created_by`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [updated_date] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => updated_date
                                                                            [rawName] => `updated_date`
                                                                            [allowNull] => 1
                                                                            [dbType] => datetime
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 
                                                                            [precision] => 
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [updated_by] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => updated_by
                                                                            [rawName] => `updated_by`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                )

                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [columns] => Array
                                                        (
                                                            [id] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => id
                                                                    [rawName] => `id`
                                                                    [allowNull] => 
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 1
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 1
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [date] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => date
                                                                    [rawName] => `date`
                                                                    [allowNull] => 1
                                                                    [dbType] => datetime
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 
                                                                    [precision] => 
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [event_id] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => event_id
                                                                    [rawName] => `event_id`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 1
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [type_of_ticket] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => type_of_ticket
                                                                    [rawName] => `type_of_ticket`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [description_of_ticket] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => description_of_ticket
                                                                    [rawName] => `description_of_ticket`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [ticket_code] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => ticket_code
                                                                    [rawName] => `ticket_code`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [quantity] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => quantity
                                                                    [rawName] => `quantity`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [price] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => price
                                                                    [rawName] => `price`
                                                                    [allowNull] => 1
                                                                    [dbType] => decimal(10,0)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 10
                                                                    [precision] => 10
                                                                    [scale] => 0
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [ticket_code_org] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => ticket_code_org
                                                                    [rawName] => `ticket_code_org`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [seat_map] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => seat_map
                                                                    [rawName] => `seat_map`
                                                                    [allowNull] => 1
                                                                    [dbType] => tinyint(1)
                                                                    [type] => integer
                                                                    [defaultValue] => 0
                                                                    [size] => 1
                                                                    [precision] => 1
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [pic_seat_map] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => pic_seat_map
                                                                    [rawName] => `pic_seat_map`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [ranking] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => ranking
                                                                    [rawName] => `ranking`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [remain_quantity] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => remain_quantity
                                                                    [rawName] => `remain_quantity`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [created_by] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => created_by
                                                                    [rawName] => `created_by`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [updated_date] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => updated_date
                                                                    [rawName] => `updated_date`
                                                                    [allowNull] => 1
                                                                    [dbType] => datetime
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 
                                                                    [precision] => 
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [updated_by] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => updated_by
                                                                    [rawName] => `updated_by`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                        )

                                                    [relations] => Array
                                                        (
                                                            [booked] => CHasManyRelation Object
                                                                (
                                                                    [limit] => -1
                                                                    [offset] => -1
                                                                    [index] => 
                                                                    [through] => 
                                                                    [joinType] => LEFT OUTER JOIN
                                                                    [on] => 
                                                                    [alias] => 
                                                                    [with] => Array
                                                                        (
                                                                        )

                                                                    [together] => 
                                                                    [scopes] => 
                                                                    [name] => booked
                                                                    [className] => Booked
                                                                    [foreignKey] => ticket_id
                                                                    [select] => *
                                                                    [condition] => 
                                                                    [params] => Array
                                                                        (
                                                                        )

                                                                    [group] => 
                                                                    [join] => 
                                                                    [having] => 
                                                                    [order] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [event] => CBelongsToRelation Object
                                                                (
                                                                    [joinType] => LEFT OUTER JOIN
                                                                    [on] => 
                                                                    [alias] => 
                                                                    [with] => Array
                                                                        (
                                                                        )

                                                                    [together] => 
                                                                    [scopes] => 
                                                                    [name] => event
                                                                    [className] => Event
                                                                    [foreignKey] => event_id
                                                                    [select] => *
                                                                    [condition] => 
                                                                    [params] => Array
                                                                        (
                                                                        )

                                                                    [group] => 
                                                                    [join] => 
                                                                    [having] => 
                                                                    [order] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [update_user] => CHasOneRelation Object
                                                                (
                                                                    [through] => 
                                                                    [joinType] => LEFT OUTER JOIN
                                                                    [on] => 
                                                                    [alias] => 
                                                                    [with] => Array
                                                                        (
                                                                        )

                                                                    [together] => 
                                                                    [scopes] => 
                                                                    [name] => update_user
                                                                    [className] => Users
                                                                    [foreignKey] => updated_by
                                                                    [select] => *
                                                                    [condition] => 
                                                                    [params] => Array
                                                                        (
                                                                        )

                                                                    [group] => 
                                                                    [join] => 
                                                                    [having] => 
                                                                    [order] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [create_user] => CHasOneRelation Object
                                                                (
                                                                    [through] => 
                                                                    [joinType] => LEFT OUTER JOIN
                                                                    [on] => 
                                                                    [alias] => 
                                                                    [with] => Array
                                                                        (
                                                                        )

                                                                    [together] => 
                                                                    [scopes] => 
                                                                    [name] => create_user
                                                                    [className] => Users
                                                                    [foreignKey] => created_by
                                                                    [select] => *
                                                                    [condition] => 
                                                                    [params] => Array
                                                                        (
                                                                        )

                                                                    [group] => 
                                                                    [join] => 
                                                                    [having] => 
                                                                    [order] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                        )

                                                    [attributeDefaults] => Array
                                                        (
                                                            [seat_map] => 0
                                                        )

                                                    [_model:CActiveRecordMetaData:private] => Ticket Object
 *RECURSION*
                                                )

                                            [_new:CActiveRecord:private] => 
                                            [_attributes:CActiveRecord:private] => Array
                                                (
                                                )

                                            [_related:CActiveRecord:private] => Array
                                                (
                                                )

                                            [_c:CActiveRecord:private] => 
                                            [_pk:CActiveRecord:private] => 
                                            [_alias:CActiveRecord:private] => t
                                            [_errors:CModel:private] => Array
                                                (
                                                )

                                            [_validators:CModel:private] => 
                                            [_scenario:CModel:private] => 
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [records] => Array
                                        (
                                        )

                                    [children] => Array
                                        (
                                        )

                                    [stats] => Array
                                        (
                                        )

                                    [tableAlias] => t
                                    [rawTableAlias] => `t`
                                    [_finder:CJoinElement:private] => CActiveFinder Object
                                        (
                                            [joinAll] => 
                                            [baseLimited] => 
                                            [_joinCount:CActiveFinder:private] => 0
                                            [_joinTree:CActiveFinder:private] => CJoinElement Object
 *RECURSION*
                                            [_builder:CActiveFinder:private] => CMysqlCommandBuilder Object
                                                (
                                                    [_schema:CDbCommandBuilder:private] => CMysqlSchema Object
                                                        (
                                                            [columnTypes] => Array
                                                                (
                                                                    [pk] => int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY
                                                                    [string] => varchar(255)
                                                                    [text] => text
                                                                    [integer] => int(11)
                                                                    [float] => float
                                                                    [decimal] => decimal
                                                                    [datetime] => datetime
                                                                    [timestamp] => timestamp
                                                                    [time] => time
                                                                    [date] => date
                                                                    [binary] => blob
                                                                    [boolean] => tinyint(1)
                                                                    [money] => decimal(19,4)
                                                                )

                                                            [_tableNames:CDbSchema:private] => Array
                                                                (
                                                                )

                                                            [_tables:CDbSchema:private] => Array
                                                                (
                                                                    [tickets] => CMysqlTableSchema Object
                                                                        (
                                                                            [schemaName] => 
                                                                            [name] => tickets
                                                                            [rawName] => `tickets`
                                                                            [primaryKey] => id
                                                                            [sequenceName] => 
                                                                            [foreignKeys] => Array
                                                                                (
                                                                                    [event_id] => Array
                                                                                        (
                                                                                            [0] => events
                                                                                            [1] => id
                                                                                        )

                                                                                )

                                                                            [columns] => Array
                                                                                (
                                                                                    [id] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => id
                                                                                            [rawName] => `id`
                                                                                            [allowNull] => 
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 1
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 1
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [date] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => date
                                                                                            [rawName] => `date`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => datetime
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 
                                                                                            [precision] => 
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [event_id] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => event_id
                                                                                            [rawName] => `event_id`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 1
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [type_of_ticket] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => type_of_ticket
                                                                                            [rawName] => `type_of_ticket`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [description_of_ticket] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => description_of_ticket
                                                                                            [rawName] => `description_of_ticket`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ticket_code] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ticket_code
                                                                                            [rawName] => `ticket_code`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [quantity] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => quantity
                                                                                            [rawName] => `quantity`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [price] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => price
                                                                                            [rawName] => `price`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => decimal(10,0)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 10
                                                                                            [precision] => 10
                                                                                            [scale] => 0
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ticket_code_org] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ticket_code_org
                                                                                            [rawName] => `ticket_code_org`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [seat_map] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => seat_map
                                                                                            [rawName] => `seat_map`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => tinyint(1)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 0
                                                                                            [size] => 1
                                                                                            [precision] => 1
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [pic_seat_map] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => pic_seat_map
                                                                                            [rawName] => `pic_seat_map`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ranking] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ranking
                                                                                            [rawName] => `ranking`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [remain_quantity] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => remain_quantity
                                                                                            [rawName] => `remain_quantity`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [created_by] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => created_by
                                                                                            [rawName] => `created_by`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [updated_date] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => updated_date
                                                                                            [rawName] => `updated_date`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => datetime
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 
                                                                                            [precision] => 
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [updated_by] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => updated_by
                                                                                            [rawName] => `updated_by`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                )

                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                )

                                                            [_connection:CDbSchema:private] => CDbConnection Object
                                                                (
                                                                    [connectionString] => mysql:host=localhost;dbname=booking
                                                                    [username] => root
                                                                    [password] => 
                                                                    [schemaCachingDuration] => 0
                                                                    [schemaCachingExclude] => Array
                                                                        (
                                                                        )

                                                                    [schemaCacheID] => cache
                                                                    [queryCachingDuration] => 0
                                                                    [queryCachingDependency] => 
                                                                    [queryCachingCount] => 0
                                                                    [queryCacheID] => cache
                                                                    [autoConnect] => 1
                                                                    [charset] => utf8
                                                                    [emulatePrepare] => 1
                                                                    [enableParamLogging] => 
                                                                    [enableProfiling] => 
                                                                    [tablePrefix] => 
                                                                    [initSQLs] => 
                                                                    [driverMap] => Array
                                                                        (
                                                                            [pgsql] => CPgsqlSchema
                                                                            [mysqli] => CMysqlSchema
                                                                            [mysql] => CMysqlSchema
                                                                            [sqlite] => CSqliteSchema
                                                                            [sqlite2] => CSqliteSchema
                                                                            [mssql] => CMssqlSchema
                                                                            [dblib] => CMssqlSchema
                                                                            [sqlsrv] => CMssqlSchema
                                                                            [oci] => COciSchema
                                                                        )

                                                                    [pdoClass] => PDO
                                                                    [_attributes:CDbConnection:private] => Array
                                                                        (
                                                                        )

                                                                    [_active:CDbConnection:private] => 1
                                                                    [_pdo:CDbConnection:private] => PDO Object
                                                                        (
                                                                        )

                                                                    [_transaction:CDbConnection:private] => 
                                                                    [_schema:CDbConnection:private] => CMysqlSchema Object
 *RECURSION*
                                                                    [behaviors] => Array
                                                                        (
                                                                        )

                                                                    [_initialized:CApplicationComponent:private] => 1
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [_builder:CDbSchema:private] => CMysqlCommandBuilder Object
 *RECURSION*
                                                            [_cacheExclude:CDbSchema:private] => Array
                                                                (
                                                                )

                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [_connection:CDbCommandBuilder:private] => CDbConnection Object
                                                        (
                                                            [connectionString] => mysql:host=localhost;dbname=booking
                                                            [username] => root
                                                            [password] => 
                                                            [schemaCachingDuration] => 0
                                                            [schemaCachingExclude] => Array
                                                                (
                                                                )

                                                            [schemaCacheID] => cache
                                                            [queryCachingDuration] => 0
                                                            [queryCachingDependency] => 
                                                            [queryCachingCount] => 0
                                                            [queryCacheID] => cache
                                                            [autoConnect] => 1
                                                            [charset] => utf8
                                                            [emulatePrepare] => 1
                                                            [enableParamLogging] => 
                                                            [enableProfiling] => 
                                                            [tablePrefix] => 
                                                            [initSQLs] => 
                                                            [driverMap] => Array
                                                                (
                                                                    [pgsql] => CPgsqlSchema
                                                                    [mysqli] => CMysqlSchema
                                                                    [mysql] => CMysqlSchema
                                                                    [sqlite] => CSqliteSchema
                                                                    [sqlite2] => CSqliteSchema
                                                                    [mssql] => CMssqlSchema
                                                                    [dblib] => CMssqlSchema
                                                                    [sqlsrv] => CMssqlSchema
                                                                    [oci] => COciSchema
                                                                )

                                                            [pdoClass] => PDO
                                                            [_attributes:CDbConnection:private] => Array
                                                                (
                                                                )

                                                            [_active:CDbConnection:private] => 1
                                                            [_pdo:CDbConnection:private] => PDO Object
                                                                (
                                                                )

                                                            [_transaction:CDbConnection:private] => 
                                                            [_schema:CDbConnection:private] => CMysqlSchema Object
                                                                (
                                                                    [columnTypes] => Array
                                                                        (
                                                                            [pk] => int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY
                                                                            [string] => varchar(255)
                                                                            [text] => text
                                                                            [integer] => int(11)
                                                                            [float] => float
                                                                            [decimal] => decimal
                                                                            [datetime] => datetime
                                                                            [timestamp] => timestamp
                                                                            [time] => time
                                                                            [date] => date
                                                                            [binary] => blob
                                                                            [boolean] => tinyint(1)
                                                                            [money] => decimal(19,4)
                                                                        )

                                                                    [_tableNames:CDbSchema:private] => Array
                                                                        (
                                                                        )

                                                                    [_tables:CDbSchema:private] => Array
                                                                        (
                                                                            [tickets] => CMysqlTableSchema Object
                                                                                (
                                                                                    [schemaName] => 
                                                                                    [name] => tickets
                                                                                    [rawName] => `tickets`
                                                                                    [primaryKey] => id
                                                                                    [sequenceName] => 
                                                                                    [foreignKeys] => Array
                                                                                        (
                                                                                            [event_id] => Array
                                                                                                (
                                                                                                    [0] => events
                                                                                                    [1] => id
                                                                                                )

                                                                                        )

                                                                                    [columns] => Array
                                                                                        (
                                                                                            [id] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => id
                                                                                                    [rawName] => `id`
                                                                                                    [allowNull] => 
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 1
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 1
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [date] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => date
                                                                                                    [rawName] => `date`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => datetime
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 
                                                                                                    [precision] => 
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [event_id] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => event_id
                                                                                                    [rawName] => `event_id`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 1
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [type_of_ticket] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => type_of_ticket
                                                                                                    [rawName] => `type_of_ticket`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => varchar(255)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 255
                                                                                                    [precision] => 255
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [description_of_ticket] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => description_of_ticket
                                                                                                    [rawName] => `description_of_ticket`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => varchar(255)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 255
                                                                                                    [precision] => 255
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [ticket_code] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => ticket_code
                                                                                                    [rawName] => `ticket_code`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => varchar(255)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 255
                                                                                                    [precision] => 255
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [quantity] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => quantity
                                                                                                    [rawName] => `quantity`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [price] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => price
                                                                                                    [rawName] => `price`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => decimal(10,0)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 10
                                                                                                    [precision] => 10
                                                                                                    [scale] => 0
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [ticket_code_org] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => ticket_code_org
                                                                                                    [rawName] => `ticket_code_org`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => varchar(255)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 255
                                                                                                    [precision] => 255
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [seat_map] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => seat_map
                                                                                                    [rawName] => `seat_map`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => tinyint(1)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 0
                                                                                                    [size] => 1
                                                                                                    [precision] => 1
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [pic_seat_map] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => pic_seat_map
                                                                                                    [rawName] => `pic_seat_map`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => varchar(255)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 255
                                                                                                    [precision] => 255
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [ranking] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => ranking
                                                                                                    [rawName] => `ranking`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [remain_quantity] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => remain_quantity
                                                                                                    [rawName] => `remain_quantity`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [created_by] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => created_by
                                                                                                    [rawName] => `created_by`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [updated_date] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => updated_date
                                                                                                    [rawName] => `updated_date`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => datetime
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 
                                                                                                    [precision] => 
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [updated_by] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => updated_by
                                                                                                    [rawName] => `updated_by`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                        )

                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                        )

                                                                    [_connection:CDbSchema:private] => CDbConnection Object
 *RECURSION*
                                                                    [_builder:CDbSchema:private] => CMysqlCommandBuilder Object
 *RECURSION*
                                                                    [_cacheExclude:CDbSchema:private] => Array
                                                                        (
                                                                        )

                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [behaviors] => Array
                                                                (
                                                                )

                                                            [_initialized:CApplicationComponent:private] => 1
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [_e:CComponent:private] => 
                                                    [_m:CComponent:private] => 
                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_builder:CJoinElement:private] => CMysqlCommandBuilder Object
                                        (
                                            [_schema:CDbCommandBuilder:private] => CMysqlSchema Object
                                                (
                                                    [columnTypes] => Array
                                                        (
                                                            [pk] => int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY
                                                            [string] => varchar(255)
                                                            [text] => text
                                                            [integer] => int(11)
                                                            [float] => float
                                                            [decimal] => decimal
                                                            [datetime] => datetime
                                                            [timestamp] => timestamp
                                                            [time] => time
                                                            [date] => date
                                                            [binary] => blob
                                                            [boolean] => tinyint(1)
                                                            [money] => decimal(19,4)
                                                        )

                                                    [_tableNames:CDbSchema:private] => Array
                                                        (
                                                        )

                                                    [_tables:CDbSchema:private] => Array
                                                        (
                                                            [tickets] => CMysqlTableSchema Object
                                                                (
                                                                    [schemaName] => 
                                                                    [name] => tickets
                                                                    [rawName] => `tickets`
                                                                    [primaryKey] => id
                                                                    [sequenceName] => 
                                                                    [foreignKeys] => Array
                                                                        (
                                                                            [event_id] => Array
                                                                                (
                                                                                    [0] => events
                                                                                    [1] => id
                                                                                )

                                                                        )

                                                                    [columns] => Array
                                                                        (
                                                                            [id] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => id
                                                                                    [rawName] => `id`
                                                                                    [allowNull] => 
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 1
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 1
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [date] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => date
                                                                                    [rawName] => `date`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => datetime
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 
                                                                                    [precision] => 
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [event_id] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => event_id
                                                                                    [rawName] => `event_id`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 1
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [type_of_ticket] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => type_of_ticket
                                                                                    [rawName] => `type_of_ticket`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => varchar(255)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 255
                                                                                    [precision] => 255
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [description_of_ticket] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => description_of_ticket
                                                                                    [rawName] => `description_of_ticket`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => varchar(255)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 255
                                                                                    [precision] => 255
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [ticket_code] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => ticket_code
                                                                                    [rawName] => `ticket_code`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => varchar(255)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 255
                                                                                    [precision] => 255
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [quantity] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => quantity
                                                                                    [rawName] => `quantity`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [price] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => price
                                                                                    [rawName] => `price`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => decimal(10,0)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 10
                                                                                    [precision] => 10
                                                                                    [scale] => 0
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [ticket_code_org] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => ticket_code_org
                                                                                    [rawName] => `ticket_code_org`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => varchar(255)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 255
                                                                                    [precision] => 255
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [seat_map] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => seat_map
                                                                                    [rawName] => `seat_map`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => tinyint(1)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 0
                                                                                    [size] => 1
                                                                                    [precision] => 1
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [pic_seat_map] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => pic_seat_map
                                                                                    [rawName] => `pic_seat_map`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => varchar(255)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 255
                                                                                    [precision] => 255
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [ranking] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => ranking
                                                                                    [rawName] => `ranking`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [remain_quantity] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => remain_quantity
                                                                                    [rawName] => `remain_quantity`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [created_by] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => created_by
                                                                                    [rawName] => `created_by`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [updated_date] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => updated_date
                                                                                    [rawName] => `updated_date`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => datetime
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 
                                                                                    [precision] => 
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [updated_by] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => updated_by
                                                                                    [rawName] => `updated_by`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                        )

                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                        )

                                                    [_connection:CDbSchema:private] => CDbConnection Object
                                                        (
                                                            [connectionString] => mysql:host=localhost;dbname=booking
                                                            [username] => root
                                                            [password] => 
                                                            [schemaCachingDuration] => 0
                                                            [schemaCachingExclude] => Array
                                                                (
                                                                )

                                                            [schemaCacheID] => cache
                                                            [queryCachingDuration] => 0
                                                            [queryCachingDependency] => 
                                                            [queryCachingCount] => 0
                                                            [queryCacheID] => cache
                                                            [autoConnect] => 1
                                                            [charset] => utf8
                                                            [emulatePrepare] => 1
                                                            [enableParamLogging] => 
                                                            [enableProfiling] => 
                                                            [tablePrefix] => 
                                                            [initSQLs] => 
                                                            [driverMap] => Array
                                                                (
                                                                    [pgsql] => CPgsqlSchema
                                                                    [mysqli] => CMysqlSchema
                                                                    [mysql] => CMysqlSchema
                                                                    [sqlite] => CSqliteSchema
                                                                    [sqlite2] => CSqliteSchema
                                                                    [mssql] => CMssqlSchema
                                                                    [dblib] => CMssqlSchema
                                                                    [sqlsrv] => CMssqlSchema
                                                                    [oci] => COciSchema
                                                                )

                                                            [pdoClass] => PDO
                                                            [_attributes:CDbConnection:private] => Array
                                                                (
                                                                )

                                                            [_active:CDbConnection:private] => 1
                                                            [_pdo:CDbConnection:private] => PDO Object
                                                                (
                                                                )

                                                            [_transaction:CDbConnection:private] => 
                                                            [_schema:CDbConnection:private] => CMysqlSchema Object
 *RECURSION*
                                                            [behaviors] => Array
                                                                (
                                                                )

                                                            [_initialized:CApplicationComponent:private] => 1
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [_builder:CDbSchema:private] => CMysqlCommandBuilder Object
 *RECURSION*
                                                    [_cacheExclude:CDbSchema:private] => Array
                                                        (
                                                        )

                                                    [_e:CComponent:private] => 
                                                    [_m:CComponent:private] => 
                                                )

                                            [_connection:CDbCommandBuilder:private] => CDbConnection Object
                                                (
                                                    [connectionString] => mysql:host=localhost;dbname=booking
                                                    [username] => root
                                                    [password] => 
                                                    [schemaCachingDuration] => 0
                                                    [schemaCachingExclude] => Array
                                                        (
                                                        )

                                                    [schemaCacheID] => cache
                                                    [queryCachingDuration] => 0
                                                    [queryCachingDependency] => 
                                                    [queryCachingCount] => 0
                                                    [queryCacheID] => cache
                                                    [autoConnect] => 1
                                                    [charset] => utf8
                                                    [emulatePrepare] => 1
                                                    [enableParamLogging] => 
                                                    [enableProfiling] => 
                                                    [tablePrefix] => 
                                                    [initSQLs] => 
                                                    [driverMap] => Array
                                                        (
                                                            [pgsql] => CPgsqlSchema
                                                            [mysqli] => CMysqlSchema
                                                            [mysql] => CMysqlSchema
                                                            [sqlite] => CSqliteSchema
                                                            [sqlite2] => CSqliteSchema
                                                            [mssql] => CMssqlSchema
                                                            [dblib] => CMssqlSchema
                                                            [sqlsrv] => CMssqlSchema
                                                            [oci] => COciSchema
                                                        )

                                                    [pdoClass] => PDO
                                                    [_attributes:CDbConnection:private] => Array
                                                        (
                                                        )

                                                    [_active:CDbConnection:private] => 1
                                                    [_pdo:CDbConnection:private] => PDO Object
                                                        (
                                                        )

                                                    [_transaction:CDbConnection:private] => 
                                                    [_schema:CDbConnection:private] => CMysqlSchema Object
                                                        (
                                                            [columnTypes] => Array
                                                                (
                                                                    [pk] => int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY
                                                                    [string] => varchar(255)
                                                                    [text] => text
                                                                    [integer] => int(11)
                                                                    [float] => float
                                                                    [decimal] => decimal
                                                                    [datetime] => datetime
                                                                    [timestamp] => timestamp
                                                                    [time] => time
                                                                    [date] => date
                                                                    [binary] => blob
                                                                    [boolean] => tinyint(1)
                                                                    [money] => decimal(19,4)
                                                                )

                                                            [_tableNames:CDbSchema:private] => Array
                                                                (
                                                                )

                                                            [_tables:CDbSchema:private] => Array
                                                                (
                                                                    [tickets] => CMysqlTableSchema Object
                                                                        (
                                                                            [schemaName] => 
                                                                            [name] => tickets
                                                                            [rawName] => `tickets`
                                                                            [primaryKey] => id
                                                                            [sequenceName] => 
                                                                            [foreignKeys] => Array
                                                                                (
                                                                                    [event_id] => Array
                                                                                        (
                                                                                            [0] => events
                                                                                            [1] => id
                                                                                        )

                                                                                )

                                                                            [columns] => Array
                                                                                (
                                                                                    [id] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => id
                                                                                            [rawName] => `id`
                                                                                            [allowNull] => 
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 1
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 1
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [date] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => date
                                                                                            [rawName] => `date`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => datetime
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 
                                                                                            [precision] => 
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [event_id] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => event_id
                                                                                            [rawName] => `event_id`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 1
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [type_of_ticket] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => type_of_ticket
                                                                                            [rawName] => `type_of_ticket`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [description_of_ticket] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => description_of_ticket
                                                                                            [rawName] => `description_of_ticket`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ticket_code] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ticket_code
                                                                                            [rawName] => `ticket_code`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [quantity] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => quantity
                                                                                            [rawName] => `quantity`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [price] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => price
                                                                                            [rawName] => `price`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => decimal(10,0)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 10
                                                                                            [precision] => 10
                                                                                            [scale] => 0
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ticket_code_org] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ticket_code_org
                                                                                            [rawName] => `ticket_code_org`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [seat_map] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => seat_map
                                                                                            [rawName] => `seat_map`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => tinyint(1)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 0
                                                                                            [size] => 1
                                                                                            [precision] => 1
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [pic_seat_map] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => pic_seat_map
                                                                                            [rawName] => `pic_seat_map`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ranking] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ranking
                                                                                            [rawName] => `ranking`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [remain_quantity] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => remain_quantity
                                                                                            [rawName] => `remain_quantity`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [created_by] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => created_by
                                                                                            [rawName] => `created_by`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [updated_date] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => updated_date
                                                                                            [rawName] => `updated_date`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => datetime
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 
                                                                                            [precision] => 
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [updated_by] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => updated_by
                                                                                            [rawName] => `updated_by`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                )

                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                )

                                                            [_connection:CDbSchema:private] => CDbConnection Object
 *RECURSION*
                                                            [_builder:CDbSchema:private] => CMysqlCommandBuilder Object
 *RECURSION*
                                                            [_cacheExclude:CDbSchema:private] => Array
                                                                (
                                                                )

                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [behaviors] => Array
                                                        (
                                                        )

                                                    [_initialized:CApplicationComponent:private] => 1
                                                    [_e:CComponent:private] => 
                                                    [_m:CComponent:private] => 
                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_parent:CJoinElement:private] => 
                                    [_pkAlias:CJoinElement:private] => t0_c0
                                    [_columnAliases:CJoinElement:private] => Array
                                        (
                                            [id] => t0_c0
                                            [date] => t0_c1
                                            [event_id] => t0_c2
                                            [type_of_ticket] => t0_c3
                                            [description_of_ticket] => t0_c4
                                            [ticket_code] => t0_c5
                                            [quantity] => t0_c6
                                            [price] => t0_c7
                                            [ticket_code_org] => t0_c8
                                            [seat_map] => t0_c9
                                            [pic_seat_map] => t0_c10
                                            [ranking] => t0_c11
                                            [remain_quantity] => t0_c12
                                            [created_by] => t0_c13
                                            [updated_date] => t0_c14
                                            [updated_by] => t0_c15
                                        )

                                    [_joined:CJoinElement:private] => 
                                    [_table:CJoinElement:private] => CMysqlTableSchema Object
                                        (
                                            [schemaName] => 
                                            [name] => tickets
                                            [rawName] => `tickets`
                                            [primaryKey] => id
                                            [sequenceName] => 
                                            [foreignKeys] => Array
                                                (
                                                    [event_id] => Array
                                                        (
                                                            [0] => events
                                                            [1] => id
                                                        )

                                                )

                                            [columns] => Array
                                                (
                                                    [id] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => id
                                                            [rawName] => `id`
                                                            [allowNull] => 
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 1
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 1
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [date] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => date
                                                            [rawName] => `date`
                                                            [allowNull] => 1
                                                            [dbType] => datetime
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 
                                                            [precision] => 
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [event_id] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => event_id
                                                            [rawName] => `event_id`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 1
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [type_of_ticket] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => type_of_ticket
                                                            [rawName] => `type_of_ticket`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [description_of_ticket] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => description_of_ticket
                                                            [rawName] => `description_of_ticket`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [ticket_code] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => ticket_code
                                                            [rawName] => `ticket_code`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [quantity] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => quantity
                                                            [rawName] => `quantity`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [price] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => price
                                                            [rawName] => `price`
                                                            [allowNull] => 1
                                                            [dbType] => decimal(10,0)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 10
                                                            [precision] => 10
                                                            [scale] => 0
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [ticket_code_org] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => ticket_code_org
                                                            [rawName] => `ticket_code_org`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [seat_map] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => seat_map
                                                            [rawName] => `seat_map`
                                                            [allowNull] => 1
                                                            [dbType] => tinyint(1)
                                                            [type] => integer
                                                            [defaultValue] => 0
                                                            [size] => 1
                                                            [precision] => 1
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [pic_seat_map] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => pic_seat_map
                                                            [rawName] => `pic_seat_map`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [ranking] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => ranking
                                                            [rawName] => `ranking`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [remain_quantity] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => remain_quantity
                                                            [rawName] => `remain_quantity`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [created_by] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => created_by
                                                            [rawName] => `created_by`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [updated_date] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => updated_date
                                                            [rawName] => `updated_date`
                                                            [allowNull] => 1
                                                            [dbType] => datetime
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 
                                                            [precision] => 
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [updated_by] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => updated_by
                                                            [rawName] => `updated_by`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_related:CJoinElement:private] => Array
                                        (
                                        )

                                )

                            [1] => events
                        )

                )

            [1] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\db\ar\CActiveFinder.php
                    [line] => 48
                    [function] => buildJoinTree
                    [class] => CActiveFinder
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CJoinElement Object
                                (
                                    [id] => 0
                                    [relation] => 
                                    [master] => 
                                    [slave] => 
                                    [model] => Ticket Object
                                        (
                                            [fileImage] => 
                                            [_md:CActiveRecord:private] => CActiveRecordMetaData Object
                                                (
                                                    [tableSchema] => CMysqlTableSchema Object
                                                        (
                                                            [schemaName] => 
                                                            [name] => tickets
                                                            [rawName] => `tickets`
                                                            [primaryKey] => id
                                                            [sequenceName] => 
                                                            [foreignKeys] => Array
                                                                (
                                                                    [event_id] => Array
                                                                        (
                                                                            [0] => events
                                                                            [1] => id
                                                                        )

                                                                )

                                                            [columns] => Array
                                                                (
                                                                    [id] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => id
                                                                            [rawName] => `id`
                                                                            [allowNull] => 
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 1
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 1
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [date] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => date
                                                                            [rawName] => `date`
                                                                            [allowNull] => 1
                                                                            [dbType] => datetime
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 
                                                                            [precision] => 
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [event_id] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => event_id
                                                                            [rawName] => `event_id`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 1
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [type_of_ticket] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => type_of_ticket
                                                                            [rawName] => `type_of_ticket`
                                                                            [allowNull] => 1
                                                                            [dbType] => varchar(255)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 255
                                                                            [precision] => 255
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [description_of_ticket] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => description_of_ticket
                                                                            [rawName] => `description_of_ticket`
                                                                            [allowNull] => 1
                                                                            [dbType] => varchar(255)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 255
                                                                            [precision] => 255
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [ticket_code] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => ticket_code
                                                                            [rawName] => `ticket_code`
                                                                            [allowNull] => 1
                                                                            [dbType] => varchar(255)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 255
                                                                            [precision] => 255
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [quantity] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => quantity
                                                                            [rawName] => `quantity`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [price] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => price
                                                                            [rawName] => `price`
                                                                            [allowNull] => 1
                                                                            [dbType] => decimal(10,0)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 10
                                                                            [precision] => 10
                                                                            [scale] => 0
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [ticket_code_org] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => ticket_code_org
                                                                            [rawName] => `ticket_code_org`
                                                                            [allowNull] => 1
                                                                            [dbType] => varchar(255)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 255
                                                                            [precision] => 255
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [seat_map] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => seat_map
                                                                            [rawName] => `seat_map`
                                                                            [allowNull] => 1
                                                                            [dbType] => tinyint(1)
                                                                            [type] => integer
                                                                            [defaultValue] => 0
                                                                            [size] => 1
                                                                            [precision] => 1
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [pic_seat_map] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => pic_seat_map
                                                                            [rawName] => `pic_seat_map`
                                                                            [allowNull] => 1
                                                                            [dbType] => varchar(255)
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 255
                                                                            [precision] => 255
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [ranking] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => ranking
                                                                            [rawName] => `ranking`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [remain_quantity] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => remain_quantity
                                                                            [rawName] => `remain_quantity`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [created_by] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => created_by
                                                                            [rawName] => `created_by`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [updated_date] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => updated_date
                                                                            [rawName] => `updated_date`
                                                                            [allowNull] => 1
                                                                            [dbType] => datetime
                                                                            [type] => string
                                                                            [defaultValue] => 
                                                                            [size] => 
                                                                            [precision] => 
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                    [updated_by] => CMysqlColumnSchema Object
                                                                        (
                                                                            [name] => updated_by
                                                                            [rawName] => `updated_by`
                                                                            [allowNull] => 1
                                                                            [dbType] => int(11)
                                                                            [type] => integer
                                                                            [defaultValue] => 
                                                                            [size] => 11
                                                                            [precision] => 11
                                                                            [scale] => 
                                                                            [isPrimaryKey] => 
                                                                            [isForeignKey] => 
                                                                            [autoIncrement] => 
                                                                            [comment] => 
                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                )

                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [columns] => Array
                                                        (
                                                            [id] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => id
                                                                    [rawName] => `id`
                                                                    [allowNull] => 
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 1
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 1
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [date] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => date
                                                                    [rawName] => `date`
                                                                    [allowNull] => 1
                                                                    [dbType] => datetime
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 
                                                                    [precision] => 
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [event_id] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => event_id
                                                                    [rawName] => `event_id`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 1
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [type_of_ticket] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => type_of_ticket
                                                                    [rawName] => `type_of_ticket`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [description_of_ticket] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => description_of_ticket
                                                                    [rawName] => `description_of_ticket`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [ticket_code] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => ticket_code
                                                                    [rawName] => `ticket_code`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [quantity] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => quantity
                                                                    [rawName] => `quantity`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [price] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => price
                                                                    [rawName] => `price`
                                                                    [allowNull] => 1
                                                                    [dbType] => decimal(10,0)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 10
                                                                    [precision] => 10
                                                                    [scale] => 0
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [ticket_code_org] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => ticket_code_org
                                                                    [rawName] => `ticket_code_org`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [seat_map] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => seat_map
                                                                    [rawName] => `seat_map`
                                                                    [allowNull] => 1
                                                                    [dbType] => tinyint(1)
                                                                    [type] => integer
                                                                    [defaultValue] => 0
                                                                    [size] => 1
                                                                    [precision] => 1
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [pic_seat_map] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => pic_seat_map
                                                                    [rawName] => `pic_seat_map`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [ranking] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => ranking
                                                                    [rawName] => `ranking`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [remain_quantity] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => remain_quantity
                                                                    [rawName] => `remain_quantity`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [created_by] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => created_by
                                                                    [rawName] => `created_by`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [updated_date] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => updated_date
                                                                    [rawName] => `updated_date`
                                                                    [allowNull] => 1
                                                                    [dbType] => datetime
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 
                                                                    [precision] => 
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [updated_by] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => updated_by
                                                                    [rawName] => `updated_by`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                        )

                                                    [relations] => Array
                                                        (
                                                            [booked] => CHasManyRelation Object
                                                                (
                                                                    [limit] => -1
                                                                    [offset] => -1
                                                                    [index] => 
                                                                    [through] => 
                                                                    [joinType] => LEFT OUTER JOIN
                                                                    [on] => 
                                                                    [alias] => 
                                                                    [with] => Array
                                                                        (
                                                                        )

                                                                    [together] => 
                                                                    [scopes] => 
                                                                    [name] => booked
                                                                    [className] => Booked
                                                                    [foreignKey] => ticket_id
                                                                    [select] => *
                                                                    [condition] => 
                                                                    [params] => Array
                                                                        (
                                                                        )

                                                                    [group] => 
                                                                    [join] => 
                                                                    [having] => 
                                                                    [order] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [event] => CBelongsToRelation Object
                                                                (
                                                                    [joinType] => LEFT OUTER JOIN
                                                                    [on] => 
                                                                    [alias] => 
                                                                    [with] => Array
                                                                        (
                                                                        )

                                                                    [together] => 
                                                                    [scopes] => 
                                                                    [name] => event
                                                                    [className] => Event
                                                                    [foreignKey] => event_id
                                                                    [select] => *
                                                                    [condition] => 
                                                                    [params] => Array
                                                                        (
                                                                        )

                                                                    [group] => 
                                                                    [join] => 
                                                                    [having] => 
                                                                    [order] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [update_user] => CHasOneRelation Object
                                                                (
                                                                    [through] => 
                                                                    [joinType] => LEFT OUTER JOIN
                                                                    [on] => 
                                                                    [alias] => 
                                                                    [with] => Array
                                                                        (
                                                                        )

                                                                    [together] => 
                                                                    [scopes] => 
                                                                    [name] => update_user
                                                                    [className] => Users
                                                                    [foreignKey] => updated_by
                                                                    [select] => *
                                                                    [condition] => 
                                                                    [params] => Array
                                                                        (
                                                                        )

                                                                    [group] => 
                                                                    [join] => 
                                                                    [having] => 
                                                                    [order] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [create_user] => CHasOneRelation Object
                                                                (
                                                                    [through] => 
                                                                    [joinType] => LEFT OUTER JOIN
                                                                    [on] => 
                                                                    [alias] => 
                                                                    [with] => Array
                                                                        (
                                                                        )

                                                                    [together] => 
                                                                    [scopes] => 
                                                                    [name] => create_user
                                                                    [className] => Users
                                                                    [foreignKey] => created_by
                                                                    [select] => *
                                                                    [condition] => 
                                                                    [params] => Array
                                                                        (
                                                                        )

                                                                    [group] => 
                                                                    [join] => 
                                                                    [having] => 
                                                                    [order] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                        )

                                                    [attributeDefaults] => Array
                                                        (
                                                            [seat_map] => 0
                                                        )

                                                    [_model:CActiveRecordMetaData:private] => Ticket Object
 *RECURSION*
                                                )

                                            [_new:CActiveRecord:private] => 
                                            [_attributes:CActiveRecord:private] => Array
                                                (
                                                )

                                            [_related:CActiveRecord:private] => Array
                                                (
                                                )

                                            [_c:CActiveRecord:private] => 
                                            [_pk:CActiveRecord:private] => 
                                            [_alias:CActiveRecord:private] => t
                                            [_errors:CModel:private] => Array
                                                (
                                                )

                                            [_validators:CModel:private] => 
                                            [_scenario:CModel:private] => 
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [records] => Array
                                        (
                                        )

                                    [children] => Array
                                        (
                                        )

                                    [stats] => Array
                                        (
                                        )

                                    [tableAlias] => t
                                    [rawTableAlias] => `t`
                                    [_finder:CJoinElement:private] => CActiveFinder Object
                                        (
                                            [joinAll] => 
                                            [baseLimited] => 
                                            [_joinCount:CActiveFinder:private] => 0
                                            [_joinTree:CActiveFinder:private] => CJoinElement Object
 *RECURSION*
                                            [_builder:CActiveFinder:private] => CMysqlCommandBuilder Object
                                                (
                                                    [_schema:CDbCommandBuilder:private] => CMysqlSchema Object
                                                        (
                                                            [columnTypes] => Array
                                                                (
                                                                    [pk] => int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY
                                                                    [string] => varchar(255)
                                                                    [text] => text
                                                                    [integer] => int(11)
                                                                    [float] => float
                                                                    [decimal] => decimal
                                                                    [datetime] => datetime
                                                                    [timestamp] => timestamp
                                                                    [time] => time
                                                                    [date] => date
                                                                    [binary] => blob
                                                                    [boolean] => tinyint(1)
                                                                    [money] => decimal(19,4)
                                                                )

                                                            [_tableNames:CDbSchema:private] => Array
                                                                (
                                                                )

                                                            [_tables:CDbSchema:private] => Array
                                                                (
                                                                    [tickets] => CMysqlTableSchema Object
                                                                        (
                                                                            [schemaName] => 
                                                                            [name] => tickets
                                                                            [rawName] => `tickets`
                                                                            [primaryKey] => id
                                                                            [sequenceName] => 
                                                                            [foreignKeys] => Array
                                                                                (
                                                                                    [event_id] => Array
                                                                                        (
                                                                                            [0] => events
                                                                                            [1] => id
                                                                                        )

                                                                                )

                                                                            [columns] => Array
                                                                                (
                                                                                    [id] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => id
                                                                                            [rawName] => `id`
                                                                                            [allowNull] => 
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 1
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 1
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [date] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => date
                                                                                            [rawName] => `date`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => datetime
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 
                                                                                            [precision] => 
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [event_id] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => event_id
                                                                                            [rawName] => `event_id`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 1
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [type_of_ticket] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => type_of_ticket
                                                                                            [rawName] => `type_of_ticket`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [description_of_ticket] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => description_of_ticket
                                                                                            [rawName] => `description_of_ticket`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ticket_code] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ticket_code
                                                                                            [rawName] => `ticket_code`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [quantity] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => quantity
                                                                                            [rawName] => `quantity`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [price] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => price
                                                                                            [rawName] => `price`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => decimal(10,0)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 10
                                                                                            [precision] => 10
                                                                                            [scale] => 0
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ticket_code_org] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ticket_code_org
                                                                                            [rawName] => `ticket_code_org`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [seat_map] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => seat_map
                                                                                            [rawName] => `seat_map`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => tinyint(1)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 0
                                                                                            [size] => 1
                                                                                            [precision] => 1
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [pic_seat_map] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => pic_seat_map
                                                                                            [rawName] => `pic_seat_map`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ranking] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ranking
                                                                                            [rawName] => `ranking`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [remain_quantity] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => remain_quantity
                                                                                            [rawName] => `remain_quantity`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [created_by] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => created_by
                                                                                            [rawName] => `created_by`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [updated_date] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => updated_date
                                                                                            [rawName] => `updated_date`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => datetime
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 
                                                                                            [precision] => 
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [updated_by] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => updated_by
                                                                                            [rawName] => `updated_by`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                )

                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                )

                                                            [_connection:CDbSchema:private] => CDbConnection Object
                                                                (
                                                                    [connectionString] => mysql:host=localhost;dbname=booking
                                                                    [username] => root
                                                                    [password] => 
                                                                    [schemaCachingDuration] => 0
                                                                    [schemaCachingExclude] => Array
                                                                        (
                                                                        )

                                                                    [schemaCacheID] => cache
                                                                    [queryCachingDuration] => 0
                                                                    [queryCachingDependency] => 
                                                                    [queryCachingCount] => 0
                                                                    [queryCacheID] => cache
                                                                    [autoConnect] => 1
                                                                    [charset] => utf8
                                                                    [emulatePrepare] => 1
                                                                    [enableParamLogging] => 
                                                                    [enableProfiling] => 
                                                                    [tablePrefix] => 
                                                                    [initSQLs] => 
                                                                    [driverMap] => Array
                                                                        (
                                                                            [pgsql] => CPgsqlSchema
                                                                            [mysqli] => CMysqlSchema
                                                                            [mysql] => CMysqlSchema
                                                                            [sqlite] => CSqliteSchema
                                                                            [sqlite2] => CSqliteSchema
                                                                            [mssql] => CMssqlSchema
                                                                            [dblib] => CMssqlSchema
                                                                            [sqlsrv] => CMssqlSchema
                                                                            [oci] => COciSchema
                                                                        )

                                                                    [pdoClass] => PDO
                                                                    [_attributes:CDbConnection:private] => Array
                                                                        (
                                                                        )

                                                                    [_active:CDbConnection:private] => 1
                                                                    [_pdo:CDbConnection:private] => PDO Object
                                                                        (
                                                                        )

                                                                    [_transaction:CDbConnection:private] => 
                                                                    [_schema:CDbConnection:private] => CMysqlSchema Object
 *RECURSION*
                                                                    [behaviors] => Array
                                                                        (
                                                                        )

                                                                    [_initialized:CApplicationComponent:private] => 1
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [_builder:CDbSchema:private] => CMysqlCommandBuilder Object
 *RECURSION*
                                                            [_cacheExclude:CDbSchema:private] => Array
                                                                (
                                                                )

                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [_connection:CDbCommandBuilder:private] => CDbConnection Object
                                                        (
                                                            [connectionString] => mysql:host=localhost;dbname=booking
                                                            [username] => root
                                                            [password] => 
                                                            [schemaCachingDuration] => 0
                                                            [schemaCachingExclude] => Array
                                                                (
                                                                )

                                                            [schemaCacheID] => cache
                                                            [queryCachingDuration] => 0
                                                            [queryCachingDependency] => 
                                                            [queryCachingCount] => 0
                                                            [queryCacheID] => cache
                                                            [autoConnect] => 1
                                                            [charset] => utf8
                                                            [emulatePrepare] => 1
                                                            [enableParamLogging] => 
                                                            [enableProfiling] => 
                                                            [tablePrefix] => 
                                                            [initSQLs] => 
                                                            [driverMap] => Array
                                                                (
                                                                    [pgsql] => CPgsqlSchema
                                                                    [mysqli] => CMysqlSchema
                                                                    [mysql] => CMysqlSchema
                                                                    [sqlite] => CSqliteSchema
                                                                    [sqlite2] => CSqliteSchema
                                                                    [mssql] => CMssqlSchema
                                                                    [dblib] => CMssqlSchema
                                                                    [sqlsrv] => CMssqlSchema
                                                                    [oci] => COciSchema
                                                                )

                                                            [pdoClass] => PDO
                                                            [_attributes:CDbConnection:private] => Array
                                                                (
                                                                )

                                                            [_active:CDbConnection:private] => 1
                                                            [_pdo:CDbConnection:private] => PDO Object
                                                                (
                                                                )

                                                            [_transaction:CDbConnection:private] => 
                                                            [_schema:CDbConnection:private] => CMysqlSchema Object
                                                                (
                                                                    [columnTypes] => Array
                                                                        (
                                                                            [pk] => int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY
                                                                            [string] => varchar(255)
                                                                            [text] => text
                                                                            [integer] => int(11)
                                                                            [float] => float
                                                                            [decimal] => decimal
                                                                            [datetime] => datetime
                                                                            [timestamp] => timestamp
                                                                            [time] => time
                                                                            [date] => date
                                                                            [binary] => blob
                                                                            [boolean] => tinyint(1)
                                                                            [money] => decimal(19,4)
                                                                        )

                                                                    [_tableNames:CDbSchema:private] => Array
                                                                        (
                                                                        )

                                                                    [_tables:CDbSchema:private] => Array
                                                                        (
                                                                            [tickets] => CMysqlTableSchema Object
                                                                                (
                                                                                    [schemaName] => 
                                                                                    [name] => tickets
                                                                                    [rawName] => `tickets`
                                                                                    [primaryKey] => id
                                                                                    [sequenceName] => 
                                                                                    [foreignKeys] => Array
                                                                                        (
                                                                                            [event_id] => Array
                                                                                                (
                                                                                                    [0] => events
                                                                                                    [1] => id
                                                                                                )

                                                                                        )

                                                                                    [columns] => Array
                                                                                        (
                                                                                            [id] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => id
                                                                                                    [rawName] => `id`
                                                                                                    [allowNull] => 
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 1
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 1
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [date] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => date
                                                                                                    [rawName] => `date`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => datetime
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 
                                                                                                    [precision] => 
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [event_id] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => event_id
                                                                                                    [rawName] => `event_id`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 1
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [type_of_ticket] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => type_of_ticket
                                                                                                    [rawName] => `type_of_ticket`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => varchar(255)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 255
                                                                                                    [precision] => 255
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [description_of_ticket] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => description_of_ticket
                                                                                                    [rawName] => `description_of_ticket`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => varchar(255)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 255
                                                                                                    [precision] => 255
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [ticket_code] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => ticket_code
                                                                                                    [rawName] => `ticket_code`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => varchar(255)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 255
                                                                                                    [precision] => 255
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [quantity] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => quantity
                                                                                                    [rawName] => `quantity`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [price] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => price
                                                                                                    [rawName] => `price`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => decimal(10,0)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 10
                                                                                                    [precision] => 10
                                                                                                    [scale] => 0
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [ticket_code_org] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => ticket_code_org
                                                                                                    [rawName] => `ticket_code_org`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => varchar(255)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 255
                                                                                                    [precision] => 255
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [seat_map] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => seat_map
                                                                                                    [rawName] => `seat_map`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => tinyint(1)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 0
                                                                                                    [size] => 1
                                                                                                    [precision] => 1
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [pic_seat_map] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => pic_seat_map
                                                                                                    [rawName] => `pic_seat_map`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => varchar(255)
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 255
                                                                                                    [precision] => 255
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [ranking] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => ranking
                                                                                                    [rawName] => `ranking`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [remain_quantity] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => remain_quantity
                                                                                                    [rawName] => `remain_quantity`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [created_by] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => created_by
                                                                                                    [rawName] => `created_by`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [updated_date] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => updated_date
                                                                                                    [rawName] => `updated_date`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => datetime
                                                                                                    [type] => string
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 
                                                                                                    [precision] => 
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                            [updated_by] => CMysqlColumnSchema Object
                                                                                                (
                                                                                                    [name] => updated_by
                                                                                                    [rawName] => `updated_by`
                                                                                                    [allowNull] => 1
                                                                                                    [dbType] => int(11)
                                                                                                    [type] => integer
                                                                                                    [defaultValue] => 
                                                                                                    [size] => 11
                                                                                                    [precision] => 11
                                                                                                    [scale] => 
                                                                                                    [isPrimaryKey] => 
                                                                                                    [isForeignKey] => 
                                                                                                    [autoIncrement] => 
                                                                                                    [comment] => 
                                                                                                    [_e:CComponent:private] => 
                                                                                                    [_m:CComponent:private] => 
                                                                                                )

                                                                                        )

                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                        )

                                                                    [_connection:CDbSchema:private] => CDbConnection Object
 *RECURSION*
                                                                    [_builder:CDbSchema:private] => CMysqlCommandBuilder Object
 *RECURSION*
                                                                    [_cacheExclude:CDbSchema:private] => Array
                                                                        (
                                                                        )

                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [behaviors] => Array
                                                                (
                                                                )

                                                            [_initialized:CApplicationComponent:private] => 1
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [_e:CComponent:private] => 
                                                    [_m:CComponent:private] => 
                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_builder:CJoinElement:private] => CMysqlCommandBuilder Object
                                        (
                                            [_schema:CDbCommandBuilder:private] => CMysqlSchema Object
                                                (
                                                    [columnTypes] => Array
                                                        (
                                                            [pk] => int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY
                                                            [string] => varchar(255)
                                                            [text] => text
                                                            [integer] => int(11)
                                                            [float] => float
                                                            [decimal] => decimal
                                                            [datetime] => datetime
                                                            [timestamp] => timestamp
                                                            [time] => time
                                                            [date] => date
                                                            [binary] => blob
                                                            [boolean] => tinyint(1)
                                                            [money] => decimal(19,4)
                                                        )

                                                    [_tableNames:CDbSchema:private] => Array
                                                        (
                                                        )

                                                    [_tables:CDbSchema:private] => Array
                                                        (
                                                            [tickets] => CMysqlTableSchema Object
                                                                (
                                                                    [schemaName] => 
                                                                    [name] => tickets
                                                                    [rawName] => `tickets`
                                                                    [primaryKey] => id
                                                                    [sequenceName] => 
                                                                    [foreignKeys] => Array
                                                                        (
                                                                            [event_id] => Array
                                                                                (
                                                                                    [0] => events
                                                                                    [1] => id
                                                                                )

                                                                        )

                                                                    [columns] => Array
                                                                        (
                                                                            [id] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => id
                                                                                    [rawName] => `id`
                                                                                    [allowNull] => 
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 1
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 1
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [date] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => date
                                                                                    [rawName] => `date`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => datetime
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 
                                                                                    [precision] => 
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [event_id] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => event_id
                                                                                    [rawName] => `event_id`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 1
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [type_of_ticket] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => type_of_ticket
                                                                                    [rawName] => `type_of_ticket`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => varchar(255)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 255
                                                                                    [precision] => 255
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [description_of_ticket] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => description_of_ticket
                                                                                    [rawName] => `description_of_ticket`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => varchar(255)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 255
                                                                                    [precision] => 255
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [ticket_code] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => ticket_code
                                                                                    [rawName] => `ticket_code`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => varchar(255)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 255
                                                                                    [precision] => 255
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [quantity] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => quantity
                                                                                    [rawName] => `quantity`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [price] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => price
                                                                                    [rawName] => `price`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => decimal(10,0)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 10
                                                                                    [precision] => 10
                                                                                    [scale] => 0
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [ticket_code_org] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => ticket_code_org
                                                                                    [rawName] => `ticket_code_org`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => varchar(255)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 255
                                                                                    [precision] => 255
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [seat_map] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => seat_map
                                                                                    [rawName] => `seat_map`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => tinyint(1)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 0
                                                                                    [size] => 1
                                                                                    [precision] => 1
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [pic_seat_map] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => pic_seat_map
                                                                                    [rawName] => `pic_seat_map`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => varchar(255)
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 255
                                                                                    [precision] => 255
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [ranking] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => ranking
                                                                                    [rawName] => `ranking`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [remain_quantity] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => remain_quantity
                                                                                    [rawName] => `remain_quantity`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [created_by] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => created_by
                                                                                    [rawName] => `created_by`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [updated_date] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => updated_date
                                                                                    [rawName] => `updated_date`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => datetime
                                                                                    [type] => string
                                                                                    [defaultValue] => 
                                                                                    [size] => 
                                                                                    [precision] => 
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                            [updated_by] => CMysqlColumnSchema Object
                                                                                (
                                                                                    [name] => updated_by
                                                                                    [rawName] => `updated_by`
                                                                                    [allowNull] => 1
                                                                                    [dbType] => int(11)
                                                                                    [type] => integer
                                                                                    [defaultValue] => 
                                                                                    [size] => 11
                                                                                    [precision] => 11
                                                                                    [scale] => 
                                                                                    [isPrimaryKey] => 
                                                                                    [isForeignKey] => 
                                                                                    [autoIncrement] => 
                                                                                    [comment] => 
                                                                                    [_e:CComponent:private] => 
                                                                                    [_m:CComponent:private] => 
                                                                                )

                                                                        )

                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                        )

                                                    [_connection:CDbSchema:private] => CDbConnection Object
                                                        (
                                                            [connectionString] => mysql:host=localhost;dbname=booking
                                                            [username] => root
                                                            [password] => 
                                                            [schemaCachingDuration] => 0
                                                            [schemaCachingExclude] => Array
                                                                (
                                                                )

                                                            [schemaCacheID] => cache
                                                            [queryCachingDuration] => 0
                                                            [queryCachingDependency] => 
                                                            [queryCachingCount] => 0
                                                            [queryCacheID] => cache
                                                            [autoConnect] => 1
                                                            [charset] => utf8
                                                            [emulatePrepare] => 1
                                                            [enableParamLogging] => 
                                                            [enableProfiling] => 
                                                            [tablePrefix] => 
                                                            [initSQLs] => 
                                                            [driverMap] => Array
                                                                (
                                                                    [pgsql] => CPgsqlSchema
                                                                    [mysqli] => CMysqlSchema
                                                                    [mysql] => CMysqlSchema
                                                                    [sqlite] => CSqliteSchema
                                                                    [sqlite2] => CSqliteSchema
                                                                    [mssql] => CMssqlSchema
                                                                    [dblib] => CMssqlSchema
                                                                    [sqlsrv] => CMssqlSchema
                                                                    [oci] => COciSchema
                                                                )

                                                            [pdoClass] => PDO
                                                            [_attributes:CDbConnection:private] => Array
                                                                (
                                                                )

                                                            [_active:CDbConnection:private] => 1
                                                            [_pdo:CDbConnection:private] => PDO Object
                                                                (
                                                                )

                                                            [_transaction:CDbConnection:private] => 
                                                            [_schema:CDbConnection:private] => CMysqlSchema Object
 *RECURSION*
                                                            [behaviors] => Array
                                                                (
                                                                )

                                                            [_initialized:CApplicationComponent:private] => 1
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [_builder:CDbSchema:private] => CMysqlCommandBuilder Object
 *RECURSION*
                                                    [_cacheExclude:CDbSchema:private] => Array
                                                        (
                                                        )

                                                    [_e:CComponent:private] => 
                                                    [_m:CComponent:private] => 
                                                )

                                            [_connection:CDbCommandBuilder:private] => CDbConnection Object
                                                (
                                                    [connectionString] => mysql:host=localhost;dbname=booking
                                                    [username] => root
                                                    [password] => 
                                                    [schemaCachingDuration] => 0
                                                    [schemaCachingExclude] => Array
                                                        (
                                                        )

                                                    [schemaCacheID] => cache
                                                    [queryCachingDuration] => 0
                                                    [queryCachingDependency] => 
                                                    [queryCachingCount] => 0
                                                    [queryCacheID] => cache
                                                    [autoConnect] => 1
                                                    [charset] => utf8
                                                    [emulatePrepare] => 1
                                                    [enableParamLogging] => 
                                                    [enableProfiling] => 
                                                    [tablePrefix] => 
                                                    [initSQLs] => 
                                                    [driverMap] => Array
                                                        (
                                                            [pgsql] => CPgsqlSchema
                                                            [mysqli] => CMysqlSchema
                                                            [mysql] => CMysqlSchema
                                                            [sqlite] => CSqliteSchema
                                                            [sqlite2] => CSqliteSchema
                                                            [mssql] => CMssqlSchema
                                                            [dblib] => CMssqlSchema
                                                            [sqlsrv] => CMssqlSchema
                                                            [oci] => COciSchema
                                                        )

                                                    [pdoClass] => PDO
                                                    [_attributes:CDbConnection:private] => Array
                                                        (
                                                        )

                                                    [_active:CDbConnection:private] => 1
                                                    [_pdo:CDbConnection:private] => PDO Object
                                                        (
                                                        )

                                                    [_transaction:CDbConnection:private] => 
                                                    [_schema:CDbConnection:private] => CMysqlSchema Object
                                                        (
                                                            [columnTypes] => Array
                                                                (
                                                                    [pk] => int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY
                                                                    [string] => varchar(255)
                                                                    [text] => text
                                                                    [integer] => int(11)
                                                                    [float] => float
                                                                    [decimal] => decimal
                                                                    [datetime] => datetime
                                                                    [timestamp] => timestamp
                                                                    [time] => time
                                                                    [date] => date
                                                                    [binary] => blob
                                                                    [boolean] => tinyint(1)
                                                                    [money] => decimal(19,4)
                                                                )

                                                            [_tableNames:CDbSchema:private] => Array
                                                                (
                                                                )

                                                            [_tables:CDbSchema:private] => Array
                                                                (
                                                                    [tickets] => CMysqlTableSchema Object
                                                                        (
                                                                            [schemaName] => 
                                                                            [name] => tickets
                                                                            [rawName] => `tickets`
                                                                            [primaryKey] => id
                                                                            [sequenceName] => 
                                                                            [foreignKeys] => Array
                                                                                (
                                                                                    [event_id] => Array
                                                                                        (
                                                                                            [0] => events
                                                                                            [1] => id
                                                                                        )

                                                                                )

                                                                            [columns] => Array
                                                                                (
                                                                                    [id] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => id
                                                                                            [rawName] => `id`
                                                                                            [allowNull] => 
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 1
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 1
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [date] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => date
                                                                                            [rawName] => `date`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => datetime
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 
                                                                                            [precision] => 
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [event_id] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => event_id
                                                                                            [rawName] => `event_id`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 1
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [type_of_ticket] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => type_of_ticket
                                                                                            [rawName] => `type_of_ticket`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [description_of_ticket] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => description_of_ticket
                                                                                            [rawName] => `description_of_ticket`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ticket_code] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ticket_code
                                                                                            [rawName] => `ticket_code`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [quantity] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => quantity
                                                                                            [rawName] => `quantity`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [price] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => price
                                                                                            [rawName] => `price`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => decimal(10,0)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 10
                                                                                            [precision] => 10
                                                                                            [scale] => 0
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ticket_code_org] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ticket_code_org
                                                                                            [rawName] => `ticket_code_org`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [seat_map] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => seat_map
                                                                                            [rawName] => `seat_map`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => tinyint(1)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 0
                                                                                            [size] => 1
                                                                                            [precision] => 1
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [pic_seat_map] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => pic_seat_map
                                                                                            [rawName] => `pic_seat_map`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => varchar(255)
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 255
                                                                                            [precision] => 255
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [ranking] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => ranking
                                                                                            [rawName] => `ranking`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [remain_quantity] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => remain_quantity
                                                                                            [rawName] => `remain_quantity`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [created_by] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => created_by
                                                                                            [rawName] => `created_by`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [updated_date] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => updated_date
                                                                                            [rawName] => `updated_date`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => datetime
                                                                                            [type] => string
                                                                                            [defaultValue] => 
                                                                                            [size] => 
                                                                                            [precision] => 
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                    [updated_by] => CMysqlColumnSchema Object
                                                                                        (
                                                                                            [name] => updated_by
                                                                                            [rawName] => `updated_by`
                                                                                            [allowNull] => 1
                                                                                            [dbType] => int(11)
                                                                                            [type] => integer
                                                                                            [defaultValue] => 
                                                                                            [size] => 11
                                                                                            [precision] => 11
                                                                                            [scale] => 
                                                                                            [isPrimaryKey] => 
                                                                                            [isForeignKey] => 
                                                                                            [autoIncrement] => 
                                                                                            [comment] => 
                                                                                            [_e:CComponent:private] => 
                                                                                            [_m:CComponent:private] => 
                                                                                        )

                                                                                )

                                                                            [_e:CComponent:private] => 
                                                                            [_m:CComponent:private] => 
                                                                        )

                                                                )

                                                            [_connection:CDbSchema:private] => CDbConnection Object
 *RECURSION*
                                                            [_builder:CDbSchema:private] => CMysqlCommandBuilder Object
 *RECURSION*
                                                            [_cacheExclude:CDbSchema:private] => Array
                                                                (
                                                                )

                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [behaviors] => Array
                                                        (
                                                        )

                                                    [_initialized:CApplicationComponent:private] => 1
                                                    [_e:CComponent:private] => 
                                                    [_m:CComponent:private] => 
                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_parent:CJoinElement:private] => 
                                    [_pkAlias:CJoinElement:private] => t0_c0
                                    [_columnAliases:CJoinElement:private] => Array
                                        (
                                            [id] => t0_c0
                                            [date] => t0_c1
                                            [event_id] => t0_c2
                                            [type_of_ticket] => t0_c3
                                            [description_of_ticket] => t0_c4
                                            [ticket_code] => t0_c5
                                            [quantity] => t0_c6
                                            [price] => t0_c7
                                            [ticket_code_org] => t0_c8
                                            [seat_map] => t0_c9
                                            [pic_seat_map] => t0_c10
                                            [ranking] => t0_c11
                                            [remain_quantity] => t0_c12
                                            [created_by] => t0_c13
                                            [updated_date] => t0_c14
                                            [updated_by] => t0_c15
                                        )

                                    [_joined:CJoinElement:private] => 
                                    [_table:CJoinElement:private] => CMysqlTableSchema Object
                                        (
                                            [schemaName] => 
                                            [name] => tickets
                                            [rawName] => `tickets`
                                            [primaryKey] => id
                                            [sequenceName] => 
                                            [foreignKeys] => Array
                                                (
                                                    [event_id] => Array
                                                        (
                                                            [0] => events
                                                            [1] => id
                                                        )

                                                )

                                            [columns] => Array
                                                (
                                                    [id] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => id
                                                            [rawName] => `id`
                                                            [allowNull] => 
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 1
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 1
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [date] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => date
                                                            [rawName] => `date`
                                                            [allowNull] => 1
                                                            [dbType] => datetime
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 
                                                            [precision] => 
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [event_id] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => event_id
                                                            [rawName] => `event_id`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 1
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [type_of_ticket] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => type_of_ticket
                                                            [rawName] => `type_of_ticket`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [description_of_ticket] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => description_of_ticket
                                                            [rawName] => `description_of_ticket`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [ticket_code] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => ticket_code
                                                            [rawName] => `ticket_code`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [quantity] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => quantity
                                                            [rawName] => `quantity`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [price] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => price
                                                            [rawName] => `price`
                                                            [allowNull] => 1
                                                            [dbType] => decimal(10,0)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 10
                                                            [precision] => 10
                                                            [scale] => 0
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [ticket_code_org] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => ticket_code_org
                                                            [rawName] => `ticket_code_org`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [seat_map] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => seat_map
                                                            [rawName] => `seat_map`
                                                            [allowNull] => 1
                                                            [dbType] => tinyint(1)
                                                            [type] => integer
                                                            [defaultValue] => 0
                                                            [size] => 1
                                                            [precision] => 1
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [pic_seat_map] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => pic_seat_map
                                                            [rawName] => `pic_seat_map`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [ranking] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => ranking
                                                            [rawName] => `ranking`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [remain_quantity] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => remain_quantity
                                                            [rawName] => `remain_quantity`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [created_by] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => created_by
                                                            [rawName] => `created_by`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [updated_date] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => updated_date
                                                            [rawName] => `updated_date`
                                                            [allowNull] => 1
                                                            [dbType] => datetime
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 
                                                            [precision] => 
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [updated_by] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => updated_by
                                                            [rawName] => `updated_by`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_related:CJoinElement:private] => Array
                                        (
                                        )

                                )

                            [1] => Array
                                (
                                    [0] => events
                                    [1] => create_user
                                    [2] => update_user
                                )

                        )

                )

            [2] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\db\ar\CActiveRecord.php
                    [line] => 1301
                    [function] => __construct
                    [class] => CActiveFinder
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Ticket Object
                                (
                                    [fileImage] => 
                                    [_md:CActiveRecord:private] => CActiveRecordMetaData Object
                                        (
                                            [tableSchema] => CMysqlTableSchema Object
                                                (
                                                    [schemaName] => 
                                                    [name] => tickets
                                                    [rawName] => `tickets`
                                                    [primaryKey] => id
                                                    [sequenceName] => 
                                                    [foreignKeys] => Array
                                                        (
                                                            [event_id] => Array
                                                                (
                                                                    [0] => events
                                                                    [1] => id
                                                                )

                                                        )

                                                    [columns] => Array
                                                        (
                                                            [id] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => id
                                                                    [rawName] => `id`
                                                                    [allowNull] => 
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 1
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 1
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [date] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => date
                                                                    [rawName] => `date`
                                                                    [allowNull] => 1
                                                                    [dbType] => datetime
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 
                                                                    [precision] => 
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [event_id] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => event_id
                                                                    [rawName] => `event_id`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 1
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [type_of_ticket] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => type_of_ticket
                                                                    [rawName] => `type_of_ticket`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [description_of_ticket] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => description_of_ticket
                                                                    [rawName] => `description_of_ticket`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [ticket_code] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => ticket_code
                                                                    [rawName] => `ticket_code`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [quantity] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => quantity
                                                                    [rawName] => `quantity`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [price] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => price
                                                                    [rawName] => `price`
                                                                    [allowNull] => 1
                                                                    [dbType] => decimal(10,0)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 10
                                                                    [precision] => 10
                                                                    [scale] => 0
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [ticket_code_org] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => ticket_code_org
                                                                    [rawName] => `ticket_code_org`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [seat_map] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => seat_map
                                                                    [rawName] => `seat_map`
                                                                    [allowNull] => 1
                                                                    [dbType] => tinyint(1)
                                                                    [type] => integer
                                                                    [defaultValue] => 0
                                                                    [size] => 1
                                                                    [precision] => 1
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [pic_seat_map] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => pic_seat_map
                                                                    [rawName] => `pic_seat_map`
                                                                    [allowNull] => 1
                                                                    [dbType] => varchar(255)
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 255
                                                                    [precision] => 255
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [ranking] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => ranking
                                                                    [rawName] => `ranking`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [remain_quantity] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => remain_quantity
                                                                    [rawName] => `remain_quantity`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [created_by] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => created_by
                                                                    [rawName] => `created_by`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [updated_date] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => updated_date
                                                                    [rawName] => `updated_date`
                                                                    [allowNull] => 1
                                                                    [dbType] => datetime
                                                                    [type] => string
                                                                    [defaultValue] => 
                                                                    [size] => 
                                                                    [precision] => 
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                            [updated_by] => CMysqlColumnSchema Object
                                                                (
                                                                    [name] => updated_by
                                                                    [rawName] => `updated_by`
                                                                    [allowNull] => 1
                                                                    [dbType] => int(11)
                                                                    [type] => integer
                                                                    [defaultValue] => 
                                                                    [size] => 11
                                                                    [precision] => 11
                                                                    [scale] => 
                                                                    [isPrimaryKey] => 
                                                                    [isForeignKey] => 
                                                                    [autoIncrement] => 
                                                                    [comment] => 
                                                                    [_e:CComponent:private] => 
                                                                    [_m:CComponent:private] => 
                                                                )

                                                        )

                                                    [_e:CComponent:private] => 
                                                    [_m:CComponent:private] => 
                                                )

                                            [columns] => Array
                                                (
                                                    [id] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => id
                                                            [rawName] => `id`
                                                            [allowNull] => 
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 1
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 1
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [date] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => date
                                                            [rawName] => `date`
                                                            [allowNull] => 1
                                                            [dbType] => datetime
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 
                                                            [precision] => 
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [event_id] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => event_id
                                                            [rawName] => `event_id`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 1
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [type_of_ticket] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => type_of_ticket
                                                            [rawName] => `type_of_ticket`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [description_of_ticket] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => description_of_ticket
                                                            [rawName] => `description_of_ticket`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [ticket_code] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => ticket_code
                                                            [rawName] => `ticket_code`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [quantity] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => quantity
                                                            [rawName] => `quantity`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [price] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => price
                                                            [rawName] => `price`
                                                            [allowNull] => 1
                                                            [dbType] => decimal(10,0)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 10
                                                            [precision] => 10
                                                            [scale] => 0
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [ticket_code_org] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => ticket_code_org
                                                            [rawName] => `ticket_code_org`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [seat_map] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => seat_map
                                                            [rawName] => `seat_map`
                                                            [allowNull] => 1
                                                            [dbType] => tinyint(1)
                                                            [type] => integer
                                                            [defaultValue] => 0
                                                            [size] => 1
                                                            [precision] => 1
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [pic_seat_map] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => pic_seat_map
                                                            [rawName] => `pic_seat_map`
                                                            [allowNull] => 1
                                                            [dbType] => varchar(255)
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 255
                                                            [precision] => 255
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [ranking] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => ranking
                                                            [rawName] => `ranking`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [remain_quantity] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => remain_quantity
                                                            [rawName] => `remain_quantity`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [created_by] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => created_by
                                                            [rawName] => `created_by`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [updated_date] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => updated_date
                                                            [rawName] => `updated_date`
                                                            [allowNull] => 1
                                                            [dbType] => datetime
                                                            [type] => string
                                                            [defaultValue] => 
                                                            [size] => 
                                                            [precision] => 
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [updated_by] => CMysqlColumnSchema Object
                                                        (
                                                            [name] => updated_by
                                                            [rawName] => `updated_by`
                                                            [allowNull] => 1
                                                            [dbType] => int(11)
                                                            [type] => integer
                                                            [defaultValue] => 
                                                            [size] => 11
                                                            [precision] => 11
                                                            [scale] => 
                                                            [isPrimaryKey] => 
                                                            [isForeignKey] => 
                                                            [autoIncrement] => 
                                                            [comment] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                )

                                            [relations] => Array
                                                (
                                                    [booked] => CHasManyRelation Object
                                                        (
                                                            [limit] => -1
                                                            [offset] => -1
                                                            [index] => 
                                                            [through] => 
                                                            [joinType] => LEFT OUTER JOIN
                                                            [on] => 
                                                            [alias] => 
                                                            [with] => Array
                                                                (
                                                                )

                                                            [together] => 
                                                            [scopes] => 
                                                            [name] => booked
                                                            [className] => Booked
                                                            [foreignKey] => ticket_id
                                                            [select] => *
                                                            [condition] => 
                                                            [params] => Array
                                                                (
                                                                )

                                                            [group] => 
                                                            [join] => 
                                                            [having] => 
                                                            [order] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [event] => CBelongsToRelation Object
                                                        (
                                                            [joinType] => LEFT OUTER JOIN
                                                            [on] => 
                                                            [alias] => 
                                                            [with] => Array
                                                                (
                                                                )

                                                            [together] => 
                                                            [scopes] => 
                                                            [name] => event
                                                            [className] => Event
                                                            [foreignKey] => event_id
                                                            [select] => *
                                                            [condition] => 
                                                            [params] => Array
                                                                (
                                                                )

                                                            [group] => 
                                                            [join] => 
                                                            [having] => 
                                                            [order] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [update_user] => CHasOneRelation Object
                                                        (
                                                            [through] => 
                                                            [joinType] => LEFT OUTER JOIN
                                                            [on] => 
                                                            [alias] => 
                                                            [with] => Array
                                                                (
                                                                )

                                                            [together] => 
                                                            [scopes] => 
                                                            [name] => update_user
                                                            [className] => Users
                                                            [foreignKey] => updated_by
                                                            [select] => *
                                                            [condition] => 
                                                            [params] => Array
                                                                (
                                                                )

                                                            [group] => 
                                                            [join] => 
                                                            [having] => 
                                                            [order] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                    [create_user] => CHasOneRelation Object
                                                        (
                                                            [through] => 
                                                            [joinType] => LEFT OUTER JOIN
                                                            [on] => 
                                                            [alias] => 
                                                            [with] => Array
                                                                (
                                                                )

                                                            [together] => 
                                                            [scopes] => 
                                                            [name] => create_user
                                                            [className] => Users
                                                            [foreignKey] => created_by
                                                            [select] => *
                                                            [condition] => 
                                                            [params] => Array
                                                                (
                                                                )

                                                            [group] => 
                                                            [join] => 
                                                            [having] => 
                                                            [order] => 
                                                            [_e:CComponent:private] => 
                                                            [_m:CComponent:private] => 
                                                        )

                                                )

                                            [attributeDefaults] => Array
                                                (
                                                    [seat_map] => 0
                                                )

                                            [_model:CActiveRecordMetaData:private] => Ticket Object
 *RECURSION*
                                        )

                                    [_new:CActiveRecord:private] => 
                                    [_attributes:CActiveRecord:private] => Array
                                        (
                                        )

                                    [_related:CActiveRecord:private] => Array
                                        (
                                        )

                                    [_c:CActiveRecord:private] => 
                                    [_pk:CActiveRecord:private] => 
                                    [_alias:CActiveRecord:private] => t
                                    [_errors:CModel:private] => Array
                                        (
                                        )

                                    [_validators:CModel:private] => 
                                    [_scenario:CModel:private] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [1] => Array
                                (
                                    [0] => events
                                    [1] => create_user
                                    [2] => update_user
                                )

                        )

                )

            [3] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\db\ar\CActiveRecord.php
                    [line] => 1432
                    [function] => query
                    [class] => CActiveRecord
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CDbCriteria Object
                                (
                                    [select] => *
                                    [distinct] => 
                                    [condition] => `t`.`id`=11
                                    [params] => Array
                                        (
                                        )

                                    [limit] => -1
                                    [offset] => -1
                                    [order] => 
                                    [group] => 
                                    [join] => 
                                    [having] => 
                                    [with] => 
                                    [alias] => 
                                    [together] => 
                                    [index] => 
                                    [scopes] => 
                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                )

            [4] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers\TicketController.php
                    [line] => 239
                    [function] => findByPk
                    [class] => CActiveRecord
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 11
                        )

                )

            [5] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers\TicketController.php
                    [line] => 260
                    [function] => loadModel
                    [class] => TicketController
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 11
                        )

                )

            [6] => Array
                (
                    [function] => actionDelete
                    [class] => TicketController
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 11
                        )

                )

            [7] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\actions\CAction.php
                    [line] => 108
                    [function] => invokeArgs
                    [class] => ReflectionMethod
                    [type] => ->
                    [args] => Array
                        (
                            [0] => TicketController Object
                                (
                                    [layoutPath] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\views\layouts\main
                                    [layout] => application.modules.bookingsystem.views.layouts.main
                                    [menu] => Array
                                        (
                                        )

                                    [breadcrumbs] => Array
                                        (
                                        )

                                    [code_lang] => 4
                                    [current_url] => 
                                    [defaultAction] => index
                                    [_id:CController:private] => ticket
                                    [_action:CController:private] => CInlineAction Object
                                        (
                                            [_id:CAction:private] => delete
                                            [_controller:CAction:private] => TicketController Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_pageTitle:CController:private] => 
                                    [_cachingStack:CController:private] => 
                                    [_clips:CController:private] => 
                                    [_dynamicOutput:CController:private] => 
                                    [_pageStates:CController:private] => 
                                    [_module:CController:private] => BookingsystemModule Object
                                        (
                                            [defaultController] => default
                                            [layout] => 
                                            [controllerNamespace] => 
                                            [controllerMap] => Array
                                                (
                                                )

                                            [_controllerPath:CWebModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers
                                            [_viewPath:CWebModule:private] => 
                                            [_layoutPath:CWebModule:private] => 
                                            [preload] => Array
                                                (
                                                )

                                            [behaviors] => Array
                                                (
                                                )

                                            [_id:CModule:private] => bookingsystem
                                            [_parentModule:CModule:private] => 
                                            [_basePath:CModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem
                                            [_modulePath:CModule:private] => 
                                            [_params:CModule:private] => 
                                            [_modules:CModule:private] => Array
                                                (
                                                )

                                            [_moduleConfig:CModule:private] => Array
                                                (
                                                )

                                            [_components:CModule:private] => Array
                                                (
                                                )

                                            [_componentConfig:CModule:private] => Array
                                                (
                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_widgetStack:CBaseController:private] => Array
                                        (
                                        )

                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [1] => Array
                                (
                                    [0] => 11
                                )

                        )

                )

            [8] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\actions\CInlineAction.php
                    [line] => 47
                    [function] => runWithParamsInternal
                    [class] => CAction
                    [type] => ->
                    [args] => Array
                        (
                            [0] => TicketController Object
                                (
                                    [layoutPath] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\views\layouts\main
                                    [layout] => application.modules.bookingsystem.views.layouts.main
                                    [menu] => Array
                                        (
                                        )

                                    [breadcrumbs] => Array
                                        (
                                        )

                                    [code_lang] => 4
                                    [current_url] => 
                                    [defaultAction] => index
                                    [_id:CController:private] => ticket
                                    [_action:CController:private] => CInlineAction Object
                                        (
                                            [_id:CAction:private] => delete
                                            [_controller:CAction:private] => TicketController Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_pageTitle:CController:private] => 
                                    [_cachingStack:CController:private] => 
                                    [_clips:CController:private] => 
                                    [_dynamicOutput:CController:private] => 
                                    [_pageStates:CController:private] => 
                                    [_module:CController:private] => BookingsystemModule Object
                                        (
                                            [defaultController] => default
                                            [layout] => 
                                            [controllerNamespace] => 
                                            [controllerMap] => Array
                                                (
                                                )

                                            [_controllerPath:CWebModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers
                                            [_viewPath:CWebModule:private] => 
                                            [_layoutPath:CWebModule:private] => 
                                            [preload] => Array
                                                (
                                                )

                                            [behaviors] => Array
                                                (
                                                )

                                            [_id:CModule:private] => bookingsystem
                                            [_parentModule:CModule:private] => 
                                            [_basePath:CModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem
                                            [_modulePath:CModule:private] => 
                                            [_params:CModule:private] => 
                                            [_modules:CModule:private] => Array
                                                (
                                                )

                                            [_moduleConfig:CModule:private] => Array
                                                (
                                                )

                                            [_components:CModule:private] => Array
                                                (
                                                )

                                            [_componentConfig:CModule:private] => Array
                                                (
                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_widgetStack:CBaseController:private] => Array
                                        (
                                        )

                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [1] => ReflectionMethod Object
                                (
                                    [name] => actionDelete
                                    [class] => TicketController
                                )

                            [2] => Array
                                (
                                    [id] => 11
                                )

                        )

                )

            [9] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\CController.php
                    [line] => 308
                    [function] => runWithParams
                    [class] => CInlineAction
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [id] => 11
                                )

                        )

                )

            [10] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\CController.php
                    [line] => 286
                    [function] => runAction
                    [class] => CController
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CInlineAction Object
                                (
                                    [_id:CAction:private] => delete
                                    [_controller:CAction:private] => TicketController Object
                                        (
                                            [layoutPath] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\views\layouts\main
                                            [layout] => application.modules.bookingsystem.views.layouts.main
                                            [menu] => Array
                                                (
                                                )

                                            [breadcrumbs] => Array
                                                (
                                                )

                                            [code_lang] => 4
                                            [current_url] => 
                                            [defaultAction] => index
                                            [_id:CController:private] => ticket
                                            [_action:CController:private] => CInlineAction Object
 *RECURSION*
                                            [_pageTitle:CController:private] => 
                                            [_cachingStack:CController:private] => 
                                            [_clips:CController:private] => 
                                            [_dynamicOutput:CController:private] => 
                                            [_pageStates:CController:private] => 
                                            [_module:CController:private] => BookingsystemModule Object
                                                (
                                                    [defaultController] => default
                                                    [layout] => 
                                                    [controllerNamespace] => 
                                                    [controllerMap] => Array
                                                        (
                                                        )

                                                    [_controllerPath:CWebModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers
                                                    [_viewPath:CWebModule:private] => 
                                                    [_layoutPath:CWebModule:private] => 
                                                    [preload] => Array
                                                        (
                                                        )

                                                    [behaviors] => Array
                                                        (
                                                        )

                                                    [_id:CModule:private] => bookingsystem
                                                    [_parentModule:CModule:private] => 
                                                    [_basePath:CModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem
                                                    [_modulePath:CModule:private] => 
                                                    [_params:CModule:private] => 
                                                    [_modules:CModule:private] => Array
                                                        (
                                                        )

                                                    [_moduleConfig:CModule:private] => Array
                                                        (
                                                        )

                                                    [_components:CModule:private] => Array
                                                        (
                                                        )

                                                    [_componentConfig:CModule:private] => Array
                                                        (
                                                        )

                                                    [_e:CComponent:private] => 
                                                    [_m:CComponent:private] => 
                                                )

                                            [_widgetStack:CBaseController:private] => Array
                                                (
                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                )

            [11] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\CController.php
                    [line] => 265
                    [function] => runActionWithFilters
                    [class] => CController
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CInlineAction Object
                                (
                                    [_id:CAction:private] => delete
                                    [_controller:CAction:private] => TicketController Object
                                        (
                                            [layoutPath] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\views\layouts\main
                                            [layout] => application.modules.bookingsystem.views.layouts.main
                                            [menu] => Array
                                                (
                                                )

                                            [breadcrumbs] => Array
                                                (
                                                )

                                            [code_lang] => 4
                                            [current_url] => 
                                            [defaultAction] => index
                                            [_id:CController:private] => ticket
                                            [_action:CController:private] => CInlineAction Object
 *RECURSION*
                                            [_pageTitle:CController:private] => 
                                            [_cachingStack:CController:private] => 
                                            [_clips:CController:private] => 
                                            [_dynamicOutput:CController:private] => 
                                            [_pageStates:CController:private] => 
                                            [_module:CController:private] => BookingsystemModule Object
                                                (
                                                    [defaultController] => default
                                                    [layout] => 
                                                    [controllerNamespace] => 
                                                    [controllerMap] => Array
                                                        (
                                                        )

                                                    [_controllerPath:CWebModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers
                                                    [_viewPath:CWebModule:private] => 
                                                    [_layoutPath:CWebModule:private] => 
                                                    [preload] => Array
                                                        (
                                                        )

                                                    [behaviors] => Array
                                                        (
                                                        )

                                                    [_id:CModule:private] => bookingsystem
                                                    [_parentModule:CModule:private] => 
                                                    [_basePath:CModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem
                                                    [_modulePath:CModule:private] => 
                                                    [_params:CModule:private] => 
                                                    [_modules:CModule:private] => Array
                                                        (
                                                        )

                                                    [_moduleConfig:CModule:private] => Array
                                                        (
                                                        )

                                                    [_components:CModule:private] => Array
                                                        (
                                                        )

                                                    [_componentConfig:CModule:private] => Array
                                                        (
                                                        )

                                                    [_e:CComponent:private] => 
                                                    [_m:CComponent:private] => 
                                                )

                                            [_widgetStack:CBaseController:private] => Array
                                                (
                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [1] => Array
                                (
                                )

                        )

                )

            [12] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\CWebApplication.php
                    [line] => 282
                    [function] => run
                    [class] => CController
                    [type] => ->
                    [args] => Array
                        (
                            [0] => delete
                        )

                )

            [13] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\CWebApplication.php
                    [line] => 141
                    [function] => runController
                    [class] => CWebApplication
                    [type] => ->
                    [args] => Array
                        (
                            [0] => bookingsystem/ticket/delete/id/11
                        )

                )

            [14] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\base\CApplication.php
                    [line] => 169
                    [function] => processRequest
                    [class] => CWebApplication
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [15] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\index.php
                    [line] => 17
                    [function] => run
                    [class] => CApplication
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

        )

    [previous:Exception:private] => 
)

    [message:protected] => 
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers\TicketController.php
    [line:protected] => 247
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers\TicketController.php
                    [line] => 260
                    [function] => loadModel
                    [class] => TicketController
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 11
                        )

                )

            [1] => Array
                (
                    [function] => actionDelete
                    [class] => TicketController
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 11
                        )

                )

            [2] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\actions\CAction.php
                    [line] => 108
                    [function] => invokeArgs
                    [class] => ReflectionMethod
                    [type] => ->
                    [args] => Array
                        (
                            [0] => TicketController Object
                                (
                                    [layoutPath] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\views\layouts\main
                                    [layout] => application.modules.bookingsystem.views.layouts.main
                                    [menu] => Array
                                        (
                                        )

                                    [breadcrumbs] => Array
                                        (
                                        )

                                    [code_lang] => 4
                                    [current_url] => 
                                    [defaultAction] => index
                                    [_id:CController:private] => ticket
                                    [_action:CController:private] => CInlineAction Object
                                        (
                                            [_id:CAction:private] => delete
                                            [_controller:CAction:private] => TicketController Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_pageTitle:CController:private] => 
                                    [_cachingStack:CController:private] => 
                                    [_clips:CController:private] => 
                                    [_dynamicOutput:CController:private] => 
                                    [_pageStates:CController:private] => 
                                    [_module:CController:private] => BookingsystemModule Object
                                        (
                                            [defaultController] => default
                                            [layout] => 
                                            [controllerNamespace] => 
                                            [controllerMap] => Array
                                                (
                                                )

                                            [_controllerPath:CWebModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers
                                            [_viewPath:CWebModule:private] => 
                                            [_layoutPath:CWebModule:private] => 
                                            [preload] => Array
                                                (
                                                )

                                            [behaviors] => Array
                                                (
                                                )

                                            [_id:CModule:private] => bookingsystem
                                            [_parentModule:CModule:private] => 
                                            [_basePath:CModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem
                                            [_modulePath:CModule:private] => 
                                            [_params:CModule:private] => 
                                            [_modules:CModule:private] => Array
                                                (
                                                )

                                            [_moduleConfig:CModule:private] => Array
                                                (
                                                )

                                            [_components:CModule:private] => Array
                                                (
                                                )

                                            [_componentConfig:CModule:private] => Array
                                                (
                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_widgetStack:CBaseController:private] => Array
                                        (
                                        )

                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [1] => Array
                                (
                                    [0] => 11
                                )

                        )

                )

            [3] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\actions\CInlineAction.php
                    [line] => 47
                    [function] => runWithParamsInternal
                    [class] => CAction
                    [type] => ->
                    [args] => Array
                        (
                            [0] => TicketController Object
                                (
                                    [layoutPath] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\views\layouts\main
                                    [layout] => application.modules.bookingsystem.views.layouts.main
                                    [menu] => Array
                                        (
                                        )

                                    [breadcrumbs] => Array
                                        (
                                        )

                                    [code_lang] => 4
                                    [current_url] => 
                                    [defaultAction] => index
                                    [_id:CController:private] => ticket
                                    [_action:CController:private] => CInlineAction Object
                                        (
                                            [_id:CAction:private] => delete
                                            [_controller:CAction:private] => TicketController Object
 *RECURSION*
                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_pageTitle:CController:private] => 
                                    [_cachingStack:CController:private] => 
                                    [_clips:CController:private] => 
                                    [_dynamicOutput:CController:private] => 
                                    [_pageStates:CController:private] => 
                                    [_module:CController:private] => BookingsystemModule Object
                                        (
                                            [defaultController] => default
                                            [layout] => 
                                            [controllerNamespace] => 
                                            [controllerMap] => Array
                                                (
                                                )

                                            [_controllerPath:CWebModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers
                                            [_viewPath:CWebModule:private] => 
                                            [_layoutPath:CWebModule:private] => 
                                            [preload] => Array
                                                (
                                                )

                                            [behaviors] => Array
                                                (
                                                )

                                            [_id:CModule:private] => bookingsystem
                                            [_parentModule:CModule:private] => 
                                            [_basePath:CModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem
                                            [_modulePath:CModule:private] => 
                                            [_params:CModule:private] => 
                                            [_modules:CModule:private] => Array
                                                (
                                                )

                                            [_moduleConfig:CModule:private] => Array
                                                (
                                                )

                                            [_components:CModule:private] => Array
                                                (
                                                )

                                            [_componentConfig:CModule:private] => Array
                                                (
                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_widgetStack:CBaseController:private] => Array
                                        (
                                        )

                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [1] => ReflectionMethod Object
                                (
                                    [name] => actionDelete
                                    [class] => TicketController
                                )

                            [2] => Array
                                (
                                    [id] => 11
                                )

                        )

                )

            [4] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\CController.php
                    [line] => 308
                    [function] => runWithParams
                    [class] => CInlineAction
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [id] => 11
                                )

                        )

                )

            [5] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\CController.php
                    [line] => 286
                    [function] => runAction
                    [class] => CController
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CInlineAction Object
                                (
                                    [_id:CAction:private] => delete
                                    [_controller:CAction:private] => TicketController Object
                                        (
                                            [layoutPath] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\views\layouts\main
                                            [layout] => application.modules.bookingsystem.views.layouts.main
                                            [menu] => Array
                                                (
                                                )

                                            [breadcrumbs] => Array
                                                (
                                                )

                                            [code_lang] => 4
                                            [current_url] => 
                                            [defaultAction] => index
                                            [_id:CController:private] => ticket
                                            [_action:CController:private] => CInlineAction Object
 *RECURSION*
                                            [_pageTitle:CController:private] => 
                                            [_cachingStack:CController:private] => 
                                            [_clips:CController:private] => 
                                            [_dynamicOutput:CController:private] => 
                                            [_pageStates:CController:private] => 
                                            [_module:CController:private] => BookingsystemModule Object
                                                (
                                                    [defaultController] => default
                                                    [layout] => 
                                                    [controllerNamespace] => 
                                                    [controllerMap] => Array
                                                        (
                                                        )

                                                    [_controllerPath:CWebModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers
                                                    [_viewPath:CWebModule:private] => 
                                                    [_layoutPath:CWebModule:private] => 
                                                    [preload] => Array
                                                        (
                                                        )

                                                    [behaviors] => Array
                                                        (
                                                        )

                                                    [_id:CModule:private] => bookingsystem
                                                    [_parentModule:CModule:private] => 
                                                    [_basePath:CModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem
                                                    [_modulePath:CModule:private] => 
                                                    [_params:CModule:private] => 
                                                    [_modules:CModule:private] => Array
                                                        (
                                                        )

                                                    [_moduleConfig:CModule:private] => Array
                                                        (
                                                        )

                                                    [_components:CModule:private] => Array
                                                        (
                                                        )

                                                    [_componentConfig:CModule:private] => Array
                                                        (
                                                        )

                                                    [_e:CComponent:private] => 
                                                    [_m:CComponent:private] => 
                                                )

                                            [_widgetStack:CBaseController:private] => Array
                                                (
                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                        )

                )

            [6] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\CController.php
                    [line] => 265
                    [function] => runActionWithFilters
                    [class] => CController
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CInlineAction Object
                                (
                                    [_id:CAction:private] => delete
                                    [_controller:CAction:private] => TicketController Object
                                        (
                                            [layoutPath] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\views\layouts\main
                                            [layout] => application.modules.bookingsystem.views.layouts.main
                                            [menu] => Array
                                                (
                                                )

                                            [breadcrumbs] => Array
                                                (
                                                )

                                            [code_lang] => 4
                                            [current_url] => 
                                            [defaultAction] => index
                                            [_id:CController:private] => ticket
                                            [_action:CController:private] => CInlineAction Object
 *RECURSION*
                                            [_pageTitle:CController:private] => 
                                            [_cachingStack:CController:private] => 
                                            [_clips:CController:private] => 
                                            [_dynamicOutput:CController:private] => 
                                            [_pageStates:CController:private] => 
                                            [_module:CController:private] => BookingsystemModule Object
                                                (
                                                    [defaultController] => default
                                                    [layout] => 
                                                    [controllerNamespace] => 
                                                    [controllerMap] => Array
                                                        (
                                                        )

                                                    [_controllerPath:CWebModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers
                                                    [_viewPath:CWebModule:private] => 
                                                    [_layoutPath:CWebModule:private] => 
                                                    [preload] => Array
                                                        (
                                                        )

                                                    [behaviors] => Array
                                                        (
                                                        )

                                                    [_id:CModule:private] => bookingsystem
                                                    [_parentModule:CModule:private] => 
                                                    [_basePath:CModule:private] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem
                                                    [_modulePath:CModule:private] => 
                                                    [_params:CModule:private] => 
                                                    [_modules:CModule:private] => Array
                                                        (
                                                        )

                                                    [_moduleConfig:CModule:private] => Array
                                                        (
                                                        )

                                                    [_components:CModule:private] => Array
                                                        (
                                                        )

                                                    [_componentConfig:CModule:private] => Array
                                                        (
                                                        )

                                                    [_e:CComponent:private] => 
                                                    [_m:CComponent:private] => 
                                                )

                                            [_widgetStack:CBaseController:private] => Array
                                                (
                                                )

                                            [_e:CComponent:private] => 
                                            [_m:CComponent:private] => 
                                        )

                                    [_e:CComponent:private] => 
                                    [_m:CComponent:private] => 
                                )

                            [1] => Array
                                (
                                )

                        )

                )

            [7] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\CWebApplication.php
                    [line] => 282
                    [function] => run
                    [class] => CController
                    [type] => ->
                    [args] => Array
                        (
                            [0] => delete
                        )

                )

            [8] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\CWebApplication.php
                    [line] => 141
                    [function] => runController
                    [class] => CWebApplication
                    [type] => ->
                    [args] => Array
                        (
                            [0] => bookingsystem/ticket/delete/id/11
                        )

                )

            [9] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\base\CApplication.php
                    [line] => 169
                    [function] => processRequest
                    [class] => CWebApplication
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [10] => Array
                (
                    [file] => E:\Company\Project\UpbeatBooking\Source\bookingupbeat\index.php
                    [line] => 17
                    [function] => run
                    [class] => CApplication
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

        )

    [previous:Exception:private] => 
)
] exception 'CHttpException' in E:\Company\Project\UpbeatBooking\Source\bookingupbeat\protected\modules\bookingsystem\controllers\TicketController.php:271
Stack trace:
#0 [internal function]: TicketController->actionDelete('11')
#1 E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\actions\CAction.php(108): ReflectionMethod->invokeArgs(Object(TicketController), Array)
#2 E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\actions\CInlineAction.php(47): CAction->runWithParamsInternal(Object(TicketController), Object(ReflectionMethod), Array)
#3 E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\CController.php(308): CInlineAction->runWithParams(Array)
#4 E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\CController.php(286): CController->runAction(Object(CInlineAction))
#5 E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\CController.php(265): CController->runActionWithFilters(Object(CInlineAction), Array)
#6 E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\CWebApplication.php(282): CController->run('delete')
#7 E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\web\CWebApplication.php(141): CWebApplication->runController('bookingsystem/t...')
#8 E:\Company\Project\UpbeatBooking\Source\bookingupbeat\framework\base\CApplication.php(169): CWebApplication->processRequest()
#9 E:\Company\Project\UpbeatBooking\Source\bookingupbeat\index.php(17): CApplication->run()
#10 {main}
REQUEST_URI=/bookingsystem/ticket/delete/id/11
HTTP_REFERER=http://bookingsystem.prj/bookingsystem/ticket
---
